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

Watch mode doesn't work inside a project with nested turbo.jsonc #10323

@neochief

Description

@neochief

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/neochief/bug-turborepo-jsonc

Which canary version will you have in your reproduction?

2.5.1-canary.0

Expected behavior

I created turbo.jsonc at the project root, and everything was fine. As soon as I extended it in the subpackage, the watch mode stopped working.

Actual behavior

> turbo watch build                                                                                                               
turbo 2.5.1-canary.0

  × Cannot use root turbo.json at /Users/neochief/www/testtest/turbo.jsonc with Watch Mode.

To Reproduce

  1. Create a root turbo.jsonc.
  2. Create an extending turbo.jsonc in a subpackage.

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