[vite-node] set NODE_ENV to production #2692
-
I'm trying to set NODE_ENV when running
What happens is that Is it possible (and is it a good idea) to use Alternatively is there a way to override the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I saw here: #4420 (comment) That Unfortunately I don't know what's the purpose of those two processes.. Because maybe if you disable the |
Beta Was this translation helpful? Give feedback.
I saw here: #4420 (comment)
That
node-vite
starts 2 node processes that summed take 6 times more memory than Node alone... So currently I'm not sure if it's a good idea to use it in production. That's what I would like to do too 😅Unfortunately I don't know what's the purpose of those two processes.. Because maybe if you disable the
watch
mode, only one process will stay?! 🤔