-
Notifications
You must be signed in to change notification settings - Fork 12
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
Only works if not alone in plugins list #34
Comments
In fact, it doesn't work in either situation. But it works well by using I debugged I'm so sorry for this issue, I need some time to do more debugging. |
Hey @pigcan, thank you for the quick reply! |
{
"scripts": {
"start": "webpack-dev-server"
},
"dependencies": {
"webpack-dev-server": "*"
}
} |
I see, I am not familiar with |
The plugin relies on webpack definitely. https://github.com/pigcan/extra-watch-webpack-plugin/blob/master/src/index.js#L63 But I am not sure why it can't be worked. Later I will work on it. |
I made a dummy project, to get the simplest situation where the problem occurs:
ExtraWatchWebpackPlugin_bug.zip
If you run
npm run build
, it will watchindex.js
, as it is the entry point, but it will not watchextra.js
.However, if you uncomment the
webpack.BannerPlugin
plugin inwebpack.config.js
, now it successfully watchextra.js
.I can't explain this behavior. I added some console logs in
ExtraWatchWebpackPlugin
, and it seems like it always reacts whenextra.js
is modified, but the output file is not rebuilt.Any help appreciated!
The text was updated successfully, but these errors were encountered: