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

Server startup hangs forever (or a really long time?) if disableRefreshCheck=false #8

Closed
drather19 opened this issue Dec 6, 2019 · 1 comment · Fixed by #17
Closed

Comments

@drather19
Copy link

I have to set disableRefreshCheck: true in order to successfully start up the webpack-dev-server, otherwise the startup seems to hang (I waited minutes, but not hours).

This is observable both on an ejected CRA app patched using instructions from the README as well as an existing CRA app that uses react-app-rewired/customize-cra.

@pmmmwh
Copy link
Owner

pmmmwh commented Dec 7, 2019

I have to set disableRefreshCheck: true in order to successfully start up the webpack-dev-server, otherwise the startup seems to hang (I waited minutes, but not hours).

This is observable both on an ejected CRA app patched using instructions from the README as well as an existing CRA app that uses react-app-rewired/customize-cra.

OK - have been investigating this. It seems that the plugin thrown an Error during compilation and is supposed to warn you, but the error somehow got lost and never got propagated to the console. It might have something to do with the CRA's custom error handling using the Webpack Node API.

Will further investigate on that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants