php - Cannot run webpack-encore on Windows
one text
Solution:
You can try using
yarn encore prod
for production environment
or
yarn encore dev
for development environment
For development, You can use also:
yarn encore dev --watch
If you want to recompile automatically your assets:
see https://symfony.com/doc/current/frontend/encore/simple-example.html#configuring-encore-webpack
Source