-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Template change doesn't trigger recompilation in watch mode #5
Comments
Adding the following tells webpack to recompile when file has changed. Hot reloading doesn't seem to work, but at least I can reload the page to see changes rather than killing and restarting webpack. compiler.fileDependencies.push(templateFile); |
Instruct webpack to watch and recompile when template file has changed. Fixes jantimon#5
Thanks @kurtharriger for the improvement. Sadly hot reload won't work in this case. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi. Thanks for the great plugin.
There is one minor issue though I'm not sure is it the right place to address it.
When I run webpack-dev-server and change some javascript file in dependency graph, webpack notices it and recompiles the bundle. But it doesn't work for html-webpack-plugin templates. Could this be fixed? Thanks.
The text was updated successfully, but these errors were encountered: