I’m submitting a bug report
I’ve been using webpack for a long time and I’ve seen this behaviour on several mac OSX computers.
Sometimes, when launching the dev server (either with
webpack-dev-middleware), webpack enters a loop when it invalidates and reloads my bundle 3 to 12 times in a row.
This is difficult to reproduce because it happens randomly.
It seems to happen more frequently if I kill and restart my server a lot.
It looks like a race condition or an FS event bug.
I got this bug with webpack 1 as well as webpack 2 so all versions I used seem to have the same bug.
It’s not a dramatic issue but it’s quite annoying when it happens. I just wanted to make sure that you guys were aware of it and see if other people are experiencing this issue as well.
1 and 2
Please tell us about your environment:
Webpack sometimes hot reloads multiple times in a row on first start.
Webpack does not hot reloads on first start.
steps to reproduce
You can randomly see this behaviour with a simple boilerplate like this one.
I have seen it happen with isin/nwb, facebookincubator/create-react-app, etc…