Closed petecoop closed 1 year ago
Same question here, can't get HMR to work. Any suggestions on the configuration for this?
I was struggling with the same thing and just discovered Laravel 5.4's new Mix (replacement for Elixir). I've just set it up on an existing 5.3 installation using the instructions here: https://github.com/JeffreyWay/laravel-mix/tree/master/docs
I ended up just using the vue cli to generate some setup and using that instead of Elixir. Mix sounds like it'd work as it's just a wrapper around webpack
I've just spent an evening trying to set up HMR with this but haven't got it working, ideally I think it should launch
webpack-dev-server
within gulp, but I've only spent tonight with webpack really, I didn't find setting this up that difficult with browserify...Can anyone help? Are any changes needed to this repo to support HMR?