You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
When I execute npm start things work just as I expect them to.
But, when editing a file I see that webpack detects the change and recompile. ("Bundle is now invalid.. Bundle is now valid)
on the client side the change doesn't take affect.
When I try to refresh the page I can't find the files any more, only the bundled version (and one ctrl.ts) , so I have to rerun npm start
Maybe I'm just doing something wrong?
Tried running npm run watch alongside and change HMR to false, can't find a solution yet.
@sasidhar of course, thank you for your quick reply.
Here are the logs I'm getting after running npm start, it's quite long so I'm posting only the start and the end of it (I'm not getting any errors \ warnings)
After that it just start to log for each file the have built, for example: [6] (webpack)-dev-server/~/sockjs-client/~/inherits/inherits_browser.js 672 bytes {0} [built]
And the log ends with: webpack: bundle is now VALID.
Activity
sasidhar commentedon Mar 8, 2016
@kutomer Is it possible to share some logs? May be that will help us to find the issue.
kutomer commentedon Mar 8, 2016
@sasidhar of course, thank you for your quick reply.
Here are the logs I'm getting after running
npm start, it's quite long so I'm posting only the start and the end of it (I'm not getting any errors \ warnings)After that it just start to log for each file the have built, for example:
[6] (webpack)-dev-server/~/sockjs-client/~/inherits/inherits_browser.js 672 bytes {0} [built]And the log ends with:
webpack: bundle is now VALID.When I change a file:
I forgot to mention my spec in my previous message:
node: v5.7.0
npm: 3.6.0
os: OS x Yosemite 10.10.5
sasidhar commentedon Mar 8, 2016
@kutomer, seems everything looks fine.
angular2-webpack-starterwith only code changes or some configuration changes (webpack-config.js,package.jsonetc) too?I am on Ubuntu.
kutomer commentedon Mar 9, 2016
Thanks a lot.
I've tried to reinstall everything all over again it's working.
Btw, in your README file you said to install webpack-dev-server globally, but when doing so there is Unmet peer dependency warning.
PatrickJS commentedon Mar 13, 2016
@kutomer I'm going to close this. If you still have a problem with hot reloading can you own another issue thanks!