mellson / turbo-hanging-process-example

Turbo doesn't stop process when VS Code quits

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Turborepo hanging process example

This repo of the issue reported here. The repo is based on the Turborepo basic starter.

What's the issue

When you run Nextjs with Turbo using the Terminal in VS Code the process never stops when you quit VS Code.

Recreate

  1. Install dependencies using yarn.
  2. Open this repo using VS Code.
  3. Run Nextjs using yarn yarn:dev using the terminal inside VS Code.
  4. Check that Nextjs is running at http://localhost:3000.
  5. Quit VS Code.
  6. Check that nothing is running at http://localhost:3000.
  7. Open VS Code.
  8. Run Nextjs using yarn turbo:dev using the terminal inside VS Code.
  9. Quit VS Code.
  10. Check that Nextjs is still running at http://localhost:3000.

ps. If you quit the process using CTRL+C in step 9, everything stops as it should.

About

Turbo doesn't stop process when VS Code quits


Languages

Language:JavaScript 62.2%Language:TypeScript 37.8%