Skip to content

[vite-node] set NODE_ENV to production #2692

Answered by Johann-S
pietrovismara asked this question in Q&A
Discussion options

You must be logged in to vote

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?! 🤔

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pietrovismara
Comment options

Answer selected by pietrovismara
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants