fix: exit on buildEnd#7
Conversation
process.exit in buildEnd hook
Are we sure we always want to quit the process when the |
|
i'm not familiar with unplugin at all, is there a way to check if |
|
There is a playground project that uses the unplugin in a Vite context, which is the same context used with Storybook. We can verify there. |
|
watch seems to continue to work |
|
@christian-bromann I changed to the closeBundle hook and also added a check for watch mode. this is working for me in both build and watch modes |
|
How would the Also, did you find any documentation on |
|
actually reading now that buildEnd is not called in dev mode, so the initial commit is valid |
process.exit in buildEnd hook