这是indexloc提供的服务,不要输入任何密码
Skip to content

turbo watch dev stops after updating a file #9328

@noxify

Description

@noxify

Verify canary release

  • I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

https://github.com/noxify/turbo-kills-dev

What package manager are you using / does the bug impact?

pnpm

What operating system are you using?

Mac

Which canary version will you have in your reproduction?

2.2.4-canary.1

Describe the Bug

We're using turbo watch dev in our app. With turbo@2.1.3 everything worked as expected and if I update a file in a package, the app got updated.

Now with turbo@2.2.3 and also with turbo@2.2.4-canary-1 the process just stops if I update a file in a package.

Since I'm not good in explaining, here a quick recording which shows the behaviour:

Bildschirmaufnahme.2024-10-24.um.13.08.59.mov

Expected Behavior

After updating a file in a package ( or in the app ), the dev server should run.

To Reproduce

Clone the repo:

git clone https://github.com/noxify/turbo-kills-dev

Install the deps:

pnpm i

Start the dev server:

pnpm dev

Update a file in packages/ui/src and save the file.

Additional context

It worked with 2.1.3 - I tested it in the repro also with "dev": "turbo dev" ( in the workspace package.json ) and it seems to work. So I assume it's just a problem with turbo watch dev.

System information:

Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.0.0: Tue Sep 24 23:37:25 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T6030
  Available memory (MB): 36864
  Available CPU cores: 12
Binaries:
  Node: 22.10.0
  npm: 10.9.0
  Yarn: N/A
  pnpm: 9.12.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions