I have created a Symfony full web app with the given command symfony new app –webapp. It came with Webpack configured with webpack-encore. I can have my assets compiled with npm run watch. But the browser don’t reload automatically when my I make changes. I have tried webpack-dev-server following Symfony’s official documentation here, but didn’t work. webpack.config.js (I just removed
Tag: webpack-encore
How does webpack-encore works with symfony 5?
I’m getting a bit mad dealing with webpack-encore in a symfony 5 project. There is few things i just don’t understand. first of all here is my webpack.config.js : const Encore = require(‘@symfony/…