-
-
Notifications
You must be signed in to change notification settings - Fork 27k
Can not config HMR #1580
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
Comments
Could you send a PR if you have a better solution? Thanks! |
I'm going to close because it's not exactly obvious what caused your issue (and how HMR relates to the loader configuration). Please send a PR if you know a good fix. |
I've also recently ran into this problem, and I believe I know what the underlying issue is. tl;dr add I've ejected a create-react-app in order to add sass-loader and resolve-url-loader to I then attempted to add storybook to my app. This resulted in a This fixed the issue with storybook's webpack configuration being unable to compile my app, but broke HMR in storybook. Adding I'm not sure if the |
I wanted to add HMR without refresh page.
I ejected project, and modify webpack.config.dev.
But HMR not worked.
I found, that url loader breaks HMR:
If i remove "exclude" parameter and added custom "test", all works fine.
I spent for found this for about two days and, i think it needs to move to custom "test" field.
The text was updated successfully, but these errors were encountered: