Noderize
Noderize copied to clipboard
Is it intended that default `watch` sets NODE_ENV to `production`?
As title said, currently v0.6.0 by default run yarn watch
with NODE_ENV=production start
.
My assumption is most people will only use watch
for development. Is there any reason it should not be development
by default?
This is a bug. I'll fix it next Monday unless you got a PR for it, sorry!
This seems to be fixed in 0.7.0, but I didn't actually try to fix anything related to this. I've noticed this on one of my projects but it seems to be fairly random.
I'm trying to pin-point more specifically what causes this and I definitely need your help with this one!
Hey @Cretezy, I'm still seeing this behaviour in 0.7.2
. Haven't had anytime to look at the code but give me a shout if I can help with debugging.
I've been experiencing this too sometimes, and I'm unsure what is the root of it. If you can give me a sample that I can reproduce it would help greatly! :)