Skip to content
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

Hot reload results in blank screen #2

Open
basiteaal opened this issue Jan 29, 2020 · 3 comments
Open

Hot reload results in blank screen #2

basiteaal opened this issue Jan 29, 2020 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@basiteaal
Copy link

Hi!

We are trying to run the environment on a local machine including hot reload.
When starting npm run hot the Laravel Mix results in a succesfull build however we only get a blank page. (Title of the page is shown in browser but no visible content).

Am I doing something wrong?

Thanks a lot!

@rakieta2015
Copy link
Contributor

if you care about HMR then maybe this info will be useful. But I prefer to use php artisan serve and npm run watch - it works well

@basiteaal
Copy link
Author

Hi @rakieta2015 ,

Thanks for your answer. However I don't really get any further with this. The repo suggests HMR should be able to run but it doesn't.

So doesn't make that a bug?

Besides it speeds up development so it's preferable?

@rakieta2015
Copy link
Contributor

I made a small fix, and now the screen shouldn't be blank. But I don't know did this fix fully solves this problem. On my side, I can see that the connection to laravel's backend is still not working. Probably the application requires some additional configuration.

Did this fix bring us closer to the goal?

@rakieta2015 rakieta2015 added the bug Something isn't working label Jan 30, 2020
@rakieta2015 rakieta2015 self-assigned this Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants