json-server
json-server copied to clipboard
feat(cli): Add ctrl+c close
When using npm-run-all json-server does not close on ctrl+c SIGTERM signal. It's the same issue as vite has had https://github.com/vitejs/vite/issues/11434. This resolves this issue and no longer leaves the terminal open and the server running.