-
Notifications
You must be signed in to change notification settings - Fork 811
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404 Cannot GET / response when using HMR #766
Comments
When HMR is enabled, a "hot" file is created in the public folder of your laravel application, that folder tells the This means that you want to go to http://127.0.0.1:9000 like normal and it should work perfectly fine. |
@KuroThing Thank you for noticing this. Having my php server listening at However, when I subsequently try to make a change in a Vue component to see the change s automatically reflected, I had the following error ( probably related to #743 )
After upgrading to |
Laravel Mix Version: 0.11.3
Node Version: 7.9.0
NPM Version: 4.2.0
OS: Debian 8
Description:
Not sure if it is related to #747 but:
I have a fresh Laravel 5.4.20 install and I have a PHP DEV server running at http://127.0.0.1:9000.
My package.json file
My webpack.mix.js file
My app.js file
Then, I compile my assets using
npm run hot
which outputs that everything was successfully built and that the weback DEV server is listening at http://localhost:8080.However, when I try to visit http://127.0.0.1:8080 in the browser I get a 404 error response
Note that when I am trying
npm run watch
and visit http://127.0.0.1:9000 then I get a successful 200 responseEDIT:
I also found this SO post that refers to the same issue
The text was updated successfully, but these errors were encountered: