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 replace component when a require is updated #22

Closed
syranide opened this issue Aug 25, 2014 · 2 comments
Closed

Hot replace component when a require is updated #22

syranide opened this issue Aug 25, 2014 · 2 comments

Comments

@syranide
Copy link
Contributor

I imagine this may be technically prohibitive, but I don't really know so:

If a component uses say require('file?./myimage.png') and the file is updated, the component is not hot-replaced. Whereas the same action for CSS-files causes them to be hot-replaced.

@gaearon
Copy link
Owner

gaearon commented Aug 25, 2014

I wonder if file-loader has HMR handling code.

@gaearon
Copy link
Owner

gaearon commented Dec 15, 2014

I don't think we can do anything about it, if you'd like please file it in file-loader.

@gaearon gaearon closed this as completed Dec 15, 2014
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

No branches or pull requests

2 participants