Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Support for HMR on different hosts and ports #1246
Addition of host and port options in Laravel Mix and passing them into Webpack Dev Server. This allows both external viewing of hot reloading (which works amazing) and also allows the changing of port in case 8080 is taken on the host machine (which it was for me)
One thing to note is the hijacking of the
Tested without port and host variables, and as expected they default back to localhost:8000.
Important to note, the Laravel Mix Helper in the Laravel Framework needs to change, should be adding a related PR fairly shortly.
Edit: laravel/framework#21545 PR Added