kmagiera / babel-watch

Reload your babel-node app on JS source file changes. And do it fast.
MIT License
529 stars 70 forks source link

Fix race condition between onmessage and onexit #68

Closed steelbrain closed 6 years ago

steelbrain commented 7 years ago

Fixes https://github.com/kmagiera/babel-watch/issues/47

Post mortem of issue

The issue

The solution

Worst case scenario with this fix:

aguerere commented 7 years ago

I very much want to see this included in a release soon! We rely on babel-watch in our docker dev pipeline, and see this https://github.com/kmagiera/babel-watch/issues/47 error a few times a day. Please merge this and release it @kmagiera ! Thanks

aymericbouzy commented 6 years ago

Is this PR going to be merged soon?

felixk42 commented 6 years ago

Would love to see this PR merged too :)