Skip to content

Commit 310cf6d

Browse files
committed
[WebpackEncoreBundle] Add workers in symfony-cli.yaml file
1 parent ff871ab commit 310cf6d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

symfony/webpack-encore-bundle/2.0/manifest.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@
3333
"position": "after_target",
3434
"target": "{% block stylesheets %}",
3535
"warn_if_missing": true
36+
},
37+
{
38+
"file": "symfony-cli.yaml",
39+
"content": " # Watch and build front assets using Webpack Encore\n npm_encore_watch:\n cmd: ['npm', 'run', 'watch']\n # Or instead, run the Webpack Dev Server (https://symfony.com/doc/current/frontend/encore/dev-server.html)\n #npm_encore_dev_server:\n # cmd: ['npm', 'run', 'dev-server']",
40+
"position": "after_target",
41+
"target": "workers:",
42+
"warn_if_missing": false
3643
}
3744
]
3845
}

0 commit comments

Comments
 (0)