Skip to content
Advertisement

Tag: webpack-encore

How to set up live reloading with webpack-encore in a Symfony project?

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

Advertisement