You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using snowpack@3.0.0-rc.2, the shutdown function for stopping the Snowpack dev server isn't closing a persistent chokidar watcher, and as a result, the node process remains open even after calling shutdown. I've created a minimal repro here.
From what I can tell, this is the watcher that needs to be closed:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Using
snowpack@3.0.0-rc.2
, theshutdown
function for stopping the Snowpack dev server isn't closing a persistent chokidar watcher, and as a result, the node process remains open even after callingshutdown
. I've created a minimal repro here.From what I can tell, this is the watcher that needs to be closed:
https://github.com/snowpackjs/snowpack/blob/6ce35ef870a9c27fba523357b364b370cae7f902/snowpack/src/commands/dev.ts#L1326
Beta Was this translation helpful? Give feedback.
All reactions