Open robertjpayne opened 8 months ago
https://stackblitz.com/edit/remix-in-workspace-bug?file=package.json
1. cd packages/my-remix-app 2. npm run dev 3. ctrl+c
If you change the run script to be vite dev instead of remix vite:dev it runs and cleanly exits.
vite dev
remix vite:dev
stackblitz:
System: OS: Linux 5.0 undefined CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 18.18.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 10.2.3 - /usr/local/bin/npm pnpm: 8.14.0 - /usr/local/bin/pnpm
local:
System: OS: macOS 14.2.1 CPU: (10) arm64 Apple M1 Max Memory: 358.14 MB / 32.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.9.0 - /opt/homebrew/opt/node@20/bin/node Yarn: 1.22.19 - /opt/homebrew/bin/yarn npm: 10.1.0 - /opt/homebrew/opt/node@20/bin/npm pnpm: 8.7.3 - /opt/homebrew/bin/pnpm bun: 1.0.26 - /opt/homebrew/bin/bun Browsers: Brave Browser: 121.1.62.162 Chrome: 121.0.6167.184 Safari: 17.2.1 Safari Technology Preview: 17.4
npm
ctrl+c or SIGINT should cause a clean exit from the vite:dev
try npx vite build before npm run dev
Reproduction
https://stackblitz.com/edit/remix-in-workspace-bug?file=package.json
System Info
stackblitz:
local:
Used Package Manager
npm
Expected Behavior
ctrl+c or SIGINT should cause a clean exit from the vite:dev
Actual Behavior