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
I'm starting Wrangler with wrangler pages dev --port 8776 --compatibility-flags="nodejs_compat" -- npm start, and npm start is an alias for webpack serve --config ./webpack.config.js --mode=development, which starts a webpack dev server.
The problem with this setup is that Webpack still continues to run and occupies a port even when I kill Wrangler (Ctrl+C or by pressing x) or when Wrangler crashes. This is really annoying, and I have no idea how to free the port besides restarting the machine. Is there a way to automatically kill Webpack?
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
-
I'm starting Wrangler with
wrangler pages dev --port 8776 --compatibility-flags="nodejs_compat" -- npm start
, andnpm start
is an alias forwebpack serve --config ./webpack.config.js --mode=development
, which starts a webpack dev server.The problem with this setup is that Webpack still continues to run and occupies a port even when I kill Wrangler (Ctrl+C or by pressing
x
) or when Wrangler crashes. This is really annoying, and I have no idea how to free the port besides restarting the machine. Is there a way to automatically kill Webpack?Beta Was this translation helpful? Give feedback.
All reactions