vercel / turborepo

Build system optimized for JavaScript and TypeScript, written in Rust
https://turbo.build/repo/docs
MIT License
26.34k stars 1.83k forks source link

Watch-mode running too often when turborepo is set up inside a folder #8932

Open MattisAbrahamsson opened 3 months ago

MattisAbrahamsson commented 3 months ago

Verify canary release

Link to code that reproduces this issue

https://github.com/MattisAbrahamsson/turbo-repro

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

Yarn v2/v3/v4 (node_modules linker only)

What operating system are you using?

Mac

Which canary version will you have in your reproduction?

2.0.12-canary.0

Describe the Bug

When having turbo setup inside a folder, and not in the root of the Github repository, turbo watch will run too often. It's running every second or so, even though no files are changed. The script that runs have no side effects that would cause itself to re-run.

If everything is moved from the folder to the root of the repository turbo will work as expected.

Expected Behavior

I expect that turbo watch will not rerun every second as no source files have been changed.

To Reproduce

  1. Clone the repository
  2. cd frontend
  3. yarn install
  4. yarn dev

Additional context

No response

NicholasLYang commented 3 months ago

Hey, thanks for the issue. Any chance you can send over your daemon logs? You should be able to see them with turbo daemon logs. And could you also send over your watch mode logs by running in verbose mode (add the -vv flag)

MattisAbrahamsson commented 3 months ago

Hey, thanks for the issue. Any chance you can send over your daemon logs? You should be able to see them with turbo daemon logs. And could you also send over your watch mode logs by running in verbose mode (add the -vv flag)

Sure thing! Here are the daemon logs:

2024-08-07T07:46:36.069134Z  WARN turborepo_lib::package_changes_watcher: changed_files: {AnchoredSystemPathBuf(".turbo/cookies/12.cookie")}
2024-08-07T07:46:36.069142Z  WARN turborepo_lib::package_changes_watcher: changed_packages: Ok(Some({WorkspacePackage { name: Root, path: AnchoredSystemPathBuf("") }}))
2024-08-07T07:46:36.368036Z  WARN turborepo_lib::package_changes_watcher: changed_files: {AnchoredSystemPathBuf(".turbo/cookies/14.cookie"), AnchoredSystemPathBuf(".turbo/cookies/13.cookie")}
2024-08-07T07:46:36.368045Z  WARN turborepo_lib::package_changes_watcher: changed_packages: Ok(Some({WorkspacePackage { name: Root, path: AnchoredSystemPathBuf("") }}))
2024-08-07T07:46:36.868558Z  WARN turborepo_lib::package_changes_watcher: changed_files: {AnchoredSystemPathBuf(".turbo/cookies/15.cookie")}
2024-08-07T07:46:36.868567Z  WARN turborepo_lib::package_changes_watcher: changed_packages: Ok(Some({WorkspacePackage { name: Root, path: AnchoredSystemPathBuf("") }}))
2024-08-07T07:46:36.969351Z  WARN turborepo_lib::package_changes_watcher: changed_files: {AnchoredSystemPathBuf(".turbo/cookies/16.cookie"), AnchoredSystemPathBuf("apps/web/.next/trace")}
2024-08-07T07:46:36.969359Z  WARN turborepo_lib::package_changes_watcher: changed_packages: Ok(Some({WorkspacePackage { name: Root, path: AnchoredSystemPathBuf("") }, WorkspacePackage { name: Other("@repo/web"), path: AnchoredSystemPathBuf("apps/web") }}))
2024-08-07T07:46:36.969383Z ERROR turborepo_lib::daemon::server: package changes stream closed: channel closed
2024-08-07T07:46:36.969390Z  WARN turborepo_lib::package_changes_watcher: hashes are the same, no need to rerun

And the watch mode logs

frontend git:(main) ✗ yarn run dev     
2024-08-07T09:48:08.681+0200 [DEBUG] turborepo_lib::shim: Global turbo version: 2.0.12-canary.0
2024-08-07T09:48:08.682+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/turbo-repro/frontend/package.json
2024-08-07T09:48:08.683+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/turbo-repro/package.json
2024-08-07T09:48:08.683+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/package.json
2024-08-07T09:48:08.683+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/package.json
2024-08-07T09:48:08.683+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/package.json
2024-08-07T09:48:08.683+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/package.json
2024-08-07T09:48:08.683+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /package.json
2024-08-07T09:48:08.683+0200 [DEBUG] turborepo_lib::shim: Repository Root: /Users/mattisabrahamsson/Documents/turbo-repro/frontend
2024-08-07T09:48:08.683+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/turbo-repro/frontend/node_modules/turbo-darwin-arm64/package.json
2024-08-07T09:48:08.683+0200 [DEBUG] turborepo_lib::shim::local_turbo_state: Local turbo path: /Users/mattisabrahamsson/Documents/turbo-repro/frontend/node_modules/turbo-darwin-arm64/bin/turbo
2024-08-07T09:48:08.683+0200 [DEBUG] turborepo_lib::shim::local_turbo_state: Local turbo version: 2.0.12-canary.0
╭────────────────────────────────────────────────────────────────────────────────╮
│                                                                                │
│              Update available v2.0.12-canary.0 ≫ v2.0.12-canary.3              │
│    Changelog: https://github.com/vercel/turbo/releases/tag/v2.0.12-canary.3    │
│                Run "npx @turbo/codemod@latest update" to update                │
│                                                                                │
│             Follow @turborepo for updates: https://x.com/turborepo             │
╰────────────────────────────────────────────────────────────────────────────────╯
2024-08-07T09:48:08.683+0200 [DEBUG] turborepo_lib::shim: Currently running turbo is local turbo.
2024-08-07T09:48:08.837+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
turbo 2.0.12-canary.0

2024-08-07T09:48:09.095+0200 [DEBUG] turborepo_lib::process: spawning children with pty: true
2024-08-07T09:48:09.096+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/turbo-repro/frontend/package.json
2024-08-07T09:48:09.096+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.096+0200 [DEBUG] turborepo_lib::daemon::connector: looking for pid in lockfile: AbsoluteSystemPathBuf("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22/turbod.pid")
2024-08-07T09:48:09.096+0200 [DEBUG] turborepo_lib::daemon::connector: found pid: 63169
2024-08-07T09:48:09.096+0200 [DEBUG] turborepo_lib::daemon::connector: got daemon with pid: 63169
2024-08-07T09:48:09.096+0200 [DEBUG] turborepo_lib::daemon::connector: creating AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:09.096+0200 [DEBUG] turborepo_lib::daemon::connector: watching AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:09.097+0200 [DEBUG] turborepo_lib::daemon::connector: creating AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:09.097+0200 [DEBUG] turborepo_lib::daemon::connector: watching AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:09.097+0200 [DEBUG] turborepo_lib::daemon::connector: connecting to socket: /var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22/turbod.sock
2024-08-07T09:48:09.097+0200 [DEBUG] tower::buffer::worker: "processing request"
2024-08-07T09:48:09.097+0200 [DEBUG] turborepo_lib::daemon::connector: connected in 1410µs
2024-08-07T09:48:09.097+0200 [DEBUG] turborepo_lib::run::builder: running in daemon mode
2024-08-07T09:48:09.097+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:09.097+0200 [DEBUG] turborepo_repository::discovery: discovering packages using primary strategy
2024-08-07T09:48:09.097+0200 [DEBUG] turborepo_repository::discovery: discovering packages using fallback strategy
2024-08-07T09:48:09.097+0200 [DEBUG] turborepo_repository::discovery: attempting primary strategy
2024-08-07T09:48:09.097+0200 [DEBUG] turborepo_lib::run::package_discovery: discovering packages using daemon
2024-08-07T09:48:09.097+0200 [DEBUG] tower::buffer::worker: "processing request"
2024-08-07T09:48:09.103+0200 [DEBUG] log: No cached session for DnsName(DnsName(DnsName("telemetry.vercel.com")))
2024-08-07T09:48:09.103+0200 [DEBUG] log: Not resuming any session
2024-08-07T09:48:09.107+0200 [DEBUG] turborepo_repository::discovery: primary strategy timed out, attempting fallback strategy
2024-08-07T09:48:09.107+0200 [DEBUG] turborepo_repository::discovery: discovering packages using local strategy
2024-08-07T09:48:09.108+0200 [DEBUG] globwalk: processing includes: ["apps/web/package.json", "packages/components/package.json"]
2024-08-07T09:48:09.108+0200 [DEBUG] globwalk: processing excludes: ["**/node_modules", "**/.git", "**/.yarn"]
2024-08-07T09:48:09.108+0200 [DEBUG] globwalk: processed includes: ["/Users/mattisabrahamsson/Documents/turbo-repro/frontend/apps/web/package.json", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/packages/components/package.json"]
2024-08-07T09:48:09.108+0200 [DEBUG] globwalk: processed excludes: ["/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/node_modules/**", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/node_modules", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/.git/**", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/.git", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/.yarn/**", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/.yarn"]
2024-08-07T09:48:09.110+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/turbo-repro/frontend/apps/web/package.json
2024-08-07T09:48:09.110+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/turbo-repro/frontend/packages/components/package.json
2024-08-07T09:48:09.110+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:09.110+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:09.112+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:09.112+0200 [DEBUG] turborepo_lib::run::task_access: TASK ACCESS TRACE: unable to restore config from cache
• Packages in scope: //, @repo/components, @repo/web
• Running dev, dev:generate-css-module-declarations in 3 packages
• Remote caching disabled
2024-08-07T09:48:09.113+0200 [DEBUG] turborepo_lib::daemon::connector: looking for pid in lockfile: AbsoluteSystemPathBuf("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22/turbod.pid")
2024-08-07T09:48:09.113+0200 [DEBUG] turborepo_lib::daemon::connector: found pid: 63169
2024-08-07T09:48:09.113+0200 [DEBUG] turborepo_lib::daemon::connector: got daemon with pid: 63169
2024-08-07T09:48:09.113+0200 [DEBUG] turborepo_lib::daemon::connector: creating AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:09.113+0200 [DEBUG] turborepo_lib::daemon::connector: watching AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:09.113+0200 [DEBUG] turborepo_lib::daemon::connector: creating AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:09.113+0200 [DEBUG] turborepo_lib::daemon::connector: watching AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:09.113+0200 [DEBUG] turborepo_lib::daemon::connector: connecting to socket: /var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22/turbod.sock
2024-08-07T09:48:09.113+0200 [DEBUG] tower::buffer::worker: "processing request"
2024-08-07T09:48:09.113+0200 [DEBUG] turborepo_lib::daemon::connector: connected in 580µs
2024-08-07T09:48:09.113+0200 [DEBUG] tower::buffer::worker: "processing request"
• Packages in scope: //, @repo/components, @repo/web
• Running dev, dev:generate-css-module-declarations in 3 packages
• Remote caching disabled
2024-08-07T09:48:09.114+0200 [DEBUG] log: Using ciphersuite TLS13_AES_128_GCM_SHA256
2024-08-07T09:48:09.114+0200 [DEBUG] log: Not resuming
2024-08-07T09:48:09.114+0200 [DEBUG] log: TLS1.3 encrypted extensions: [Protocols([6832])]
2024-08-07T09:48:09.114+0200 [DEBUG] log: ALPN protocol is Some(b"h2")
2024-08-07T09:48:09.114+0200 [DEBUG] log: Ticket saved
2024-08-07T09:48:09.376+0200 [DEBUG] turborepo_lib::process: spawning children with pty: true
2024-08-07T09:48:09.376+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/turbo-repro/frontend/package.json
2024-08-07T09:48:09.376+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.376+0200 [DEBUG] turborepo_lib::daemon::connector: looking for pid in lockfile: AbsoluteSystemPathBuf("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22/turbod.pid")
2024-08-07T09:48:09.376+0200 [DEBUG] turborepo_lib::daemon::connector: found pid: 63169
2024-08-07T09:48:09.376+0200 [DEBUG] turborepo_lib::daemon::connector: got daemon with pid: 63169
2024-08-07T09:48:09.376+0200 [DEBUG] turborepo_lib::daemon::connector: creating AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:09.376+0200 [DEBUG] turborepo_lib::daemon::connector: watching AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:09.377+0200 [DEBUG] turborepo_lib::daemon::connector: creating AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:09.377+0200 [DEBUG] turborepo_lib::daemon::connector: watching AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:09.377+0200 [DEBUG] turborepo_lib::daemon::connector: connecting to socket: /var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22/turbod.sock
2024-08-07T09:48:09.377+0200 [DEBUG] tower::buffer::worker: "processing request"
2024-08-07T09:48:09.377+0200 [DEBUG] turborepo_lib::daemon::connector: connected in 540µs
2024-08-07T09:48:09.377+0200 [DEBUG] turborepo_lib::run::builder: running in daemon mode
2024-08-07T09:48:09.377+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:09.377+0200 [DEBUG] turborepo_repository::discovery: discovering packages using primary strategy
2024-08-07T09:48:09.377+0200 [DEBUG] turborepo_repository::discovery: discovering packages using fallback strategy
2024-08-07T09:48:09.377+0200 [DEBUG] turborepo_repository::discovery: attempting primary strategy
2024-08-07T09:48:09.377+0200 [DEBUG] turborepo_lib::run::package_discovery: discovering packages using daemon
2024-08-07T09:48:09.377+0200 [DEBUG] tower::buffer::worker: "processing request"
2024-08-07T09:48:09.388+0200 [DEBUG] turborepo_repository::discovery: primary strategy timed out, attempting fallback strategy
2024-08-07T09:48:09.388+0200 [DEBUG] turborepo_repository::discovery: discovering packages using local strategy
2024-08-07T09:48:09.389+0200 [DEBUG] globwalk: processing includes: ["apps/web/package.json", "packages/components/package.json"]
2024-08-07T09:48:09.389+0200 [DEBUG] globwalk: processing excludes: ["**/node_modules", "**/.git", "**/.yarn"]
2024-08-07T09:48:09.389+0200 [DEBUG] globwalk: processed includes: ["/Users/mattisabrahamsson/Documents/turbo-repro/frontend/apps/web/package.json", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/packages/components/package.json"]
2024-08-07T09:48:09.389+0200 [DEBUG] globwalk: processed excludes: ["/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/node_modules/**", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/node_modules", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/.git/**", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/.git", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/.yarn/**", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/.yarn"]
2024-08-07T09:48:09.390+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/turbo-repro/frontend/packages/components/package.json
2024-08-07T09:48:09.390+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/turbo-repro/frontend/apps/web/package.json
2024-08-07T09:48:09.390+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:09.390+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:09.393+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:09.393+0200 [DEBUG] turborepo_lib::run::task_access: TASK ACCESS TRACE: unable to restore config from cache
2024-08-07T09:48:09.393+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.393+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.393+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.393+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.393+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.393+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.393+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.393+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.393+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.393+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.393+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.393+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.429+0200 [DEBUG] turborepo_lib::run::global_hash: global hash env vars []
2024-08-07T09:48:09.429+0200 [DEBUG] turborepo_lib::run::global_hash: external deps hash: 67f76d84a6ce6571
2024-08-07T09:48:09.429+0200 [DEBUG] turborepo_lib::run::global_hash: global hash env vars []
2024-08-07T09:48:09.429+0200 [DEBUG] turborepo_lib::run::global_hash: external deps hash: 67f76d84a6ce6571
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_lib::run: running visitor
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_lib::run: running visitor
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_lib::task_hash: auto detected framework for @repo/components
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_lib::task_hash: framework: nextjs, env_prefix: ["NEXT_PUBLIC_*"]
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_lib::task_graph::visitor: task //#dev:generate-css-module-declarations hash is 020c42f9e407db9a
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_lib::task_graph::visitor: task @repo/components#dev hash is 0c9b489c5e6d3078
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.442+0200 [DEBUG] tower::buffer::worker: "processing request"
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_lib::task_hash: auto detected framework for @repo/web
2024-08-07T09:48:09.442+0200 [DEBUG] turborepo_lib::task_hash: framework: nextjs, env_prefix: ["NEXT_PUBLIC_*"]
2024-08-07T09:48:09.443+0200 [DEBUG] turborepo_lib::task_graph::visitor: task @repo/web#dev hash is 9b4a388a14ed8bda
2024-08-07T09:48:09.443+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:09.443+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
@repo/web:dev: cache bypass, force executing 9b4a388a14ed8bda
2024-08-07T09:48:09.444+0200 [DEBUG] turborepo_lib::process::child: waiting for task
//:dev:generate-css-module-declarations: cache miss, executing 020c42f9e407db9a
2024-08-07T09:48:09.456+0200 [DEBUG] turborepo_lib::process::child: waiting for task
//:dev:generate-css-module-declarations: 
//:dev:generate-css-module-declarations: Hello World
2024-08-07T09:48:09.869+0200 [DEBUG] turborepo_lib::process::child: child process exited normally
2024-08-07T09:48:09.869+0200 [DEBUG] turborepo_lib::process::child: child process stopped
2024-08-07T09:48:10.137+0200 [DEBUG] turborepo_lib::process: spawning children with pty: true
2024-08-07T09:48:10.137+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/turbo-repro/frontend/package.json
2024-08-07T09:48:10.137+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.137+0200 [DEBUG] turborepo_lib::daemon::connector: looking for pid in lockfile: AbsoluteSystemPathBuf("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22/turbod.pid")
2024-08-07T09:48:10.137+0200 [DEBUG] turborepo_lib::daemon::connector: found pid: 63169
2024-08-07T09:48:10.137+0200 [DEBUG] turborepo_lib::daemon::connector: got daemon with pid: 63169
2024-08-07T09:48:10.137+0200 [DEBUG] turborepo_lib::daemon::connector: creating AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:10.137+0200 [DEBUG] turborepo_lib::daemon::connector: watching AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:10.137+0200 [DEBUG] turborepo_lib::daemon::connector: creating AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:10.137+0200 [DEBUG] turborepo_lib::daemon::connector: watching AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:10.137+0200 [DEBUG] turborepo_lib::daemon::connector: connecting to socket: /var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22/turbod.sock
2024-08-07T09:48:10.138+0200 [DEBUG] tower::buffer::worker: "processing request"
2024-08-07T09:48:10.138+0200 [DEBUG] turborepo_lib::daemon::connector: connected in 526µs
2024-08-07T09:48:10.138+0200 [DEBUG] turborepo_lib::run::builder: running in daemon mode
2024-08-07T09:48:10.138+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:10.138+0200 [DEBUG] turborepo_repository::discovery: discovering packages using primary strategy
2024-08-07T09:48:10.138+0200 [DEBUG] turborepo_repository::discovery: discovering packages using fallback strategy
2024-08-07T09:48:10.138+0200 [DEBUG] turborepo_repository::discovery: attempting primary strategy
2024-08-07T09:48:10.138+0200 [DEBUG] turborepo_lib::run::package_discovery: discovering packages using daemon
2024-08-07T09:48:10.138+0200 [DEBUG] tower::buffer::worker: "processing request"
2024-08-07T09:48:10.149+0200 [DEBUG] turborepo_repository::discovery: primary strategy timed out, attempting fallback strategy
2024-08-07T09:48:10.149+0200 [DEBUG] turborepo_repository::discovery: discovering packages using local strategy
2024-08-07T09:48:10.150+0200 [DEBUG] globwalk: processing includes: ["apps/web/package.json", "packages/components/package.json"]
2024-08-07T09:48:10.150+0200 [DEBUG] globwalk: processing excludes: ["**/node_modules", "**/.git", "**/.yarn"]
2024-08-07T09:48:10.150+0200 [DEBUG] globwalk: processed includes: ["/Users/mattisabrahamsson/Documents/turbo-repro/frontend/apps/web/package.json", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/packages/components/package.json"]
2024-08-07T09:48:10.150+0200 [DEBUG] globwalk: processed excludes: ["/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/node_modules/**", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/node_modules", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/.git/**", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/.git", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/.yarn/**", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/.yarn"]
2024-08-07T09:48:10.151+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/turbo-repro/frontend/packages/components/package.json
2024-08-07T09:48:10.151+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/turbo-repro/frontend/apps/web/package.json
2024-08-07T09:48:10.151+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:10.151+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:10.153+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:10.153+0200 [DEBUG] turborepo_lib::run::task_access: TASK ACCESS TRACE: unable to restore config from cache
2024-08-07T09:48:10.154+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.154+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.154+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.154+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.169+0200 [DEBUG] turborepo_lib::run::global_hash: global hash env vars []
2024-08-07T09:48:10.169+0200 [DEBUG] turborepo_lib::run::global_hash: external deps hash: 67f76d84a6ce6571
2024-08-07T09:48:10.181+0200 [DEBUG] turborepo_lib::run: running visitor
2024-08-07T09:48:10.181+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.182+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.182+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.182+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.182+0200 [DEBUG] turborepo_lib::task_graph::visitor: task //#dev:generate-css-module-declarations hash is 020c42f9e407db9a
2024-08-07T09:48:10.182+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.182+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.182+0200 [DEBUG] tower::buffer::worker: "processing request"
//:dev:generate-css-module-declarations: cache miss, executing 020c42f9e407db9a
2024-08-07T09:48:10.195+0200 [DEBUG] turborepo_lib::process::child: waiting for task
//:dev:generate-css-module-declarations: 
@repo/web:dev:   ▲ Next.js 14.2.5
@repo/web:dev:   - Local:        http://localhost:3000
@repo/web:dev:   - Experiments (use with caution):
@repo/web:dev:     · outputFileTracingRoot
@repo/web:dev: 
@repo/web:dev:  ✓ Starting...
//:dev:generate-css-module-declarations: Hello World
2024-08-07T09:48:10.458+0200 [DEBUG] turborepo_lib::process::child: child process exited normally
2024-08-07T09:48:10.458+0200 [DEBUG] turborepo_lib::process::child: child process stopped
2024-08-07T09:48:10.720+0200 [DEBUG] turborepo_lib::process: spawning children with pty: true
2024-08-07T09:48:10.720+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/turbo-repro/frontend/package.json
2024-08-07T09:48:10.721+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.721+0200 [DEBUG] turborepo_lib::daemon::connector: looking for pid in lockfile: AbsoluteSystemPathBuf("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22/turbod.pid")
2024-08-07T09:48:10.721+0200 [DEBUG] turborepo_lib::daemon::connector: found pid: 63169
2024-08-07T09:48:10.721+0200 [DEBUG] turborepo_lib::daemon::connector: got daemon with pid: 63169
2024-08-07T09:48:10.721+0200 [DEBUG] turborepo_lib::daemon::connector: creating AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:10.721+0200 [DEBUG] turborepo_lib::daemon::connector: watching AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:10.721+0200 [DEBUG] turborepo_lib::daemon::connector: creating AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:10.721+0200 [DEBUG] turborepo_lib::daemon::connector: watching AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:10.721+0200 [DEBUG] turborepo_lib::daemon::connector: connecting to socket: /var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22/turbod.sock
2024-08-07T09:48:10.721+0200 [DEBUG] tower::buffer::worker: "processing request"
2024-08-07T09:48:10.721+0200 [DEBUG] turborepo_lib::daemon::connector: connected in 567µs
2024-08-07T09:48:10.721+0200 [DEBUG] turborepo_lib::run::builder: running in daemon mode
2024-08-07T09:48:10.721+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:10.721+0200 [DEBUG] turborepo_repository::discovery: discovering packages using primary strategy
2024-08-07T09:48:10.721+0200 [DEBUG] turborepo_repository::discovery: discovering packages using fallback strategy
2024-08-07T09:48:10.721+0200 [DEBUG] turborepo_repository::discovery: attempting primary strategy
2024-08-07T09:48:10.721+0200 [DEBUG] turborepo_lib::run::package_discovery: discovering packages using daemon
2024-08-07T09:48:10.721+0200 [DEBUG] tower::buffer::worker: "processing request"
2024-08-07T09:48:10.733+0200 [DEBUG] turborepo_repository::discovery: primary strategy timed out, attempting fallback strategy
2024-08-07T09:48:10.733+0200 [DEBUG] turborepo_repository::discovery: discovering packages using local strategy
2024-08-07T09:48:10.733+0200 [DEBUG] globwalk: processing includes: ["apps/web/package.json", "packages/components/package.json"]
2024-08-07T09:48:10.733+0200 [DEBUG] globwalk: processing excludes: ["**/node_modules", "**/.git", "**/.yarn"]
2024-08-07T09:48:10.733+0200 [DEBUG] globwalk: processed includes: ["/Users/mattisabrahamsson/Documents/turbo-repro/frontend/apps/web/package.json", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/packages/components/package.json"]
2024-08-07T09:48:10.733+0200 [DEBUG] globwalk: processed excludes: ["/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/node_modules/**", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/node_modules", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/.git/**", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/.git", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/.yarn/**", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/.yarn"]
2024-08-07T09:48:10.734+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/turbo-repro/frontend/apps/web/package.json
2024-08-07T09:48:10.735+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/turbo-repro/frontend/packages/components/package.json
2024-08-07T09:48:10.735+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:10.735+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:10.737+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:10.737+0200 [DEBUG] turborepo_lib::run::task_access: TASK ACCESS TRACE: unable to restore config from cache
2024-08-07T09:48:10.737+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.737+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.737+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.737+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.753+0200 [DEBUG] turborepo_lib::run::global_hash: global hash env vars []
2024-08-07T09:48:10.753+0200 [DEBUG] turborepo_lib::run::global_hash: external deps hash: 67f76d84a6ce6571
2024-08-07T09:48:10.765+0200 [DEBUG] turborepo_lib::run: running visitor
2024-08-07T09:48:10.765+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.765+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.765+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.765+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.765+0200 [DEBUG] turborepo_lib::task_graph::visitor: task //#dev:generate-css-module-declarations hash is 020c42f9e407db9a
2024-08-07T09:48:10.765+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.765+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:10.765+0200 [DEBUG] tower::buffer::worker: "processing request"
//:dev:generate-css-module-declarations: cache miss, executing 020c42f9e407db9a
2024-08-07T09:48:10.779+0200 [DEBUG] turborepo_lib::process::child: waiting for task
//:dev:generate-css-module-declarations: 
//:dev:generate-css-module-declarations: Hello World
2024-08-07T09:48:11.041+0200 [DEBUG] turborepo_lib::process::child: child process exited normally
2024-08-07T09:48:11.041+0200 [DEBUG] turborepo_lib::process::child: child process stopped
2024-08-07T09:48:11.305+0200 [DEBUG] turborepo_lib::process: spawning children with pty: true
2024-08-07T09:48:11.305+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/turbo-repro/frontend/package.json
2024-08-07T09:48:11.305+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.305+0200 [DEBUG] turborepo_lib::daemon::connector: looking for pid in lockfile: AbsoluteSystemPathBuf("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22/turbod.pid")
2024-08-07T09:48:11.305+0200 [DEBUG] turborepo_lib::daemon::connector: found pid: 63169
2024-08-07T09:48:11.305+0200 [DEBUG] turborepo_lib::daemon::connector: got daemon with pid: 63169
2024-08-07T09:48:11.306+0200 [DEBUG] turborepo_lib::daemon::connector: creating AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:11.306+0200 [DEBUG] turborepo_lib::daemon::connector: watching AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:11.306+0200 [DEBUG] turborepo_lib::daemon::connector: creating AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:11.306+0200 [DEBUG] turborepo_lib::daemon::connector: watching AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:11.306+0200 [DEBUG] turborepo_lib::daemon::connector: connecting to socket: /var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22/turbod.sock
2024-08-07T09:48:11.306+0200 [DEBUG] tower::buffer::worker: "processing request"
2024-08-07T09:48:11.306+0200 [DEBUG] turborepo_lib::daemon::connector: connected in 557µs
2024-08-07T09:48:11.306+0200 [DEBUG] turborepo_lib::run::builder: running in daemon mode
2024-08-07T09:48:11.306+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:11.306+0200 [DEBUG] turborepo_repository::discovery: discovering packages using primary strategy
2024-08-07T09:48:11.306+0200 [DEBUG] turborepo_repository::discovery: discovering packages using fallback strategy
2024-08-07T09:48:11.306+0200 [DEBUG] turborepo_repository::discovery: attempting primary strategy
2024-08-07T09:48:11.306+0200 [DEBUG] turborepo_lib::run::package_discovery: discovering packages using daemon
2024-08-07T09:48:11.306+0200 [DEBUG] tower::buffer::worker: "processing request"
2024-08-07T09:48:11.315+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/turbo-repro/frontend/packages/components/package.json
2024-08-07T09:48:11.315+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/turbo-repro/frontend/apps/web/package.json
2024-08-07T09:48:11.315+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:11.315+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:11.317+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:11.317+0200 [DEBUG] turborepo_lib::run::task_access: TASK ACCESS TRACE: unable to restore config from cache
2024-08-07T09:48:11.318+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.318+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.318+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.318+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.333+0200 [DEBUG] turborepo_lib::run::global_hash: global hash env vars []
2024-08-07T09:48:11.333+0200 [DEBUG] turborepo_lib::run::global_hash: external deps hash: 67f76d84a6ce6571
@repo/web:dev:  ✓ Ready in 1066ms
2024-08-07T09:48:11.344+0200 [DEBUG] turborepo_lib::run: running visitor
2024-08-07T09:48:11.345+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.345+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.345+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.345+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.345+0200 [DEBUG] turborepo_lib::task_graph::visitor: task //#dev:generate-css-module-declarations hash is 020c42f9e407db9a
2024-08-07T09:48:11.345+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.345+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.345+0200 [DEBUG] tower::buffer::worker: "processing request"
//:dev:generate-css-module-declarations: cache miss, executing 020c42f9e407db9a
2024-08-07T09:48:11.352+0200 [DEBUG] turborepo_lib::process::child: waiting for task
//:dev:generate-css-module-declarations: 
//:dev:generate-css-module-declarations: Hello World
2024-08-07T09:48:11.602+0200 [DEBUG] turborepo_lib::process::child: child process exited normally
2024-08-07T09:48:11.602+0200 [DEBUG] turborepo_lib::process::child: child process stopped
2024-08-07T09:48:11.864+0200 [DEBUG] turborepo_lib::process: spawning children with pty: true
2024-08-07T09:48:11.864+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/turbo-repro/frontend/package.json
2024-08-07T09:48:11.864+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.864+0200 [DEBUG] turborepo_lib::daemon::connector: looking for pid in lockfile: AbsoluteSystemPathBuf("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22/turbod.pid")
2024-08-07T09:48:11.864+0200 [DEBUG] turborepo_lib::daemon::connector: found pid: 63169
2024-08-07T09:48:11.864+0200 [DEBUG] turborepo_lib::daemon::connector: got daemon with pid: 63169
2024-08-07T09:48:11.865+0200 [DEBUG] turborepo_lib::daemon::connector: creating AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:11.865+0200 [DEBUG] turborepo_lib::daemon::connector: watching AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:11.865+0200 [DEBUG] turborepo_lib::daemon::connector: creating AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:11.865+0200 [DEBUG] turborepo_lib::daemon::connector: watching AbsoluteSystemPath("/var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22")
2024-08-07T09:48:11.865+0200 [DEBUG] turborepo_lib::daemon::connector: connecting to socket: /var/folders/7m/4zxwv4jd539b83n158p8f7nr0000gn/T/turbod/3d3d2d5bbdfaef22/turbod.sock
2024-08-07T09:48:11.865+0200 [DEBUG] tower::buffer::worker: "processing request"
2024-08-07T09:48:11.865+0200 [DEBUG] turborepo_lib::daemon::connector: connected in 546µs
2024-08-07T09:48:11.865+0200 [DEBUG] turborepo_lib::run::builder: running in daemon mode
2024-08-07T09:48:11.865+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:11.865+0200 [DEBUG] turborepo_repository::discovery: discovering packages using primary strategy
2024-08-07T09:48:11.865+0200 [DEBUG] turborepo_repository::discovery: discovering packages using fallback strategy
2024-08-07T09:48:11.865+0200 [DEBUG] turborepo_repository::discovery: attempting primary strategy
2024-08-07T09:48:11.865+0200 [DEBUG] turborepo_lib::run::package_discovery: discovering packages using daemon
2024-08-07T09:48:11.865+0200 [DEBUG] tower::buffer::worker: "processing request"
2024-08-07T09:48:11.875+0200 [DEBUG] turborepo_repository::discovery: primary strategy timed out, attempting fallback strategy
2024-08-07T09:48:11.875+0200 [DEBUG] turborepo_repository::discovery: discovering packages using local strategy
2024-08-07T09:48:11.876+0200 [DEBUG] globwalk: processing includes: ["apps/web/package.json", "packages/components/package.json"]
2024-08-07T09:48:11.876+0200 [DEBUG] globwalk: processing excludes: ["**/node_modules", "**/.git", "**/.yarn"]
2024-08-07T09:48:11.876+0200 [DEBUG] globwalk: processed includes: ["/Users/mattisabrahamsson/Documents/turbo-repro/frontend/apps/web/package.json", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/packages/components/package.json"]
2024-08-07T09:48:11.876+0200 [DEBUG] globwalk: processed excludes: ["/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/node_modules/**", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/node_modules", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/.git/**", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/.git", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/.yarn/**", "/Users/mattisabrahamsson/Documents/turbo-repro/frontend/**/.yarn"]
2024-08-07T09:48:11.878+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/turbo-repro/frontend/apps/web/package.json
2024-08-07T09:48:11.878+0200 [DEBUG] turborepo_repository::package_json: loading package.json from /Users/mattisabrahamsson/Documents/turbo-repro/frontend/packages/components/package.json
2024-08-07T09:48:11.878+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:11.878+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:11.880+0200 [DEBUG] turborepo_repository::discovery: discovering packages using caching strategy
2024-08-07T09:48:11.880+0200 [DEBUG] turborepo_lib::run::task_access: TASK ACCESS TRACE: unable to restore config from cache
2024-08-07T09:48:11.880+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.881+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.881+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.881+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.896+0200 [DEBUG] turborepo_lib::run::global_hash: global hash env vars []
2024-08-07T09:48:11.896+0200 [DEBUG] turborepo_lib::run::global_hash: external deps hash: 67f76d84a6ce6571
2024-08-07T09:48:11.908+0200 [DEBUG] turborepo_lib::run: running visitor
2024-08-07T09:48:11.908+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.908+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.908+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.908+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.908+0200 [DEBUG] turborepo_lib::task_graph::visitor: task //#dev:generate-css-module-declarations hash is 020c42f9e407db9a
2024-08-07T09:48:11.908+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.908+0200 [DEBUG] turborepo_telemetry::config: Telemetry config path: /Users/mattisabrahamsson/Library/Application Support/turborepo/telemetry.json
2024-08-07T09:48:11.908+0200 [DEBUG] tower::buffer::worker: "processing request"
//:dev:generate-css-module-declarations: cache miss, executing 020c42f9e407db9a
2024-08-07T09:48:11.922+0200 [DEBUG] turborepo_lib::process::child: waiting for task
//:dev:generate-css-module-declarations: 
^C2024-08-07T09:48:11.922+0200 [DEBUG] turborepo_lib::process: waiting for 0 processes to exit
2024-08-07T09:48:11.922+0200 [DEBUG] turborepo_lib::process: waiting for 1 processes to exit
2024-08-07T09:48:11.922+0200 [DEBUG] turborepo_lib::process: waiting for 2 processes to exit
2024-08-07T09:48:11.922+0200 [DEBUG] turborepo_lib::process: waiting for 1 processes to exit
    ...Finishing writing to cache...                                                                                                                                                                                                                                            
    ...Finishing writing to cache...                                                                                                                                                                                                                                             WARNING  could not start shutdown, exiting
2024-08-07T09:48:11.923+0200 [DEBUG] turborepo_lib::process: waiting for 1 processes to exit
    ...Finishing writing to cache...                                                                                                                                                                                                                                            
2024-08-07T09:48:11.923+0200 [DEBUG] turborepo_lib::process::child: stopping child process
2024-08-07T09:48:11.923+0200 [DEBUG] turborepo_lib::process::child: starting shutdown
2024-08-07T09:48:11.923+0200 [DEBUG] turborepo_lib::process::child: sending SIGINT to child 64547
>   ...Finishing writing to cache...                                                                                                                                                                                                                                            2024-08-07T09:48:11.923+0200 [DEBUG] turborepo_lib::process::child: waiting for child 64547
2024-08-07T09:48:11.922+0200 [DEBUG] turborepo_lib::process: waiting for 1 processes to exit
2024-08-07T09:48:11.923+0200 [DEBUG] turborepo_lib::process::child: stopping child process
2024-08-07T09:48:11.923+0200 [DEBUG] turborepo_lib::process::child: starting shutdown
2024-08-07T09:48:11.923+0200 [DEBUG] turborepo_lib::process::child: sending SIGINT to child 64651
2024-08-07T09:48:11.923+0200 [DEBUG] turborepo_lib::process::child: waiting for child 64651
shutting down
2024-08-07T09:48:11.923+0200 [DEBUG] tower::buffer::worker: buffer closing; waking pending tasks
2024-08-07T09:48:11.923+0200 [DEBUG] turborepo_telemetry: failed to record cache usage telemetry. error: Error making HTTP request: error sending request for url (https://telemetry.vercel.com/api/turborepo/v1/events): connection error: stream closed because of a broken pipe
2024-08-07T09:48:11.924+0200 [DEBUG] tower::buffer::worker: buffer closing; waking pending tasks
2024-08-07T09:48:11.924+0200 [DEBUG] turborepo_telemetry: failed to record cache usage telemetry. error: Error making HTTP request: error sending request for url (https://telemetry.vercel.com/api/turborepo/v1/events): connection error: stream closed because of a broken pipe
  × watch interrupted due to signal

➜  frontend git:(main) ✗ 
NicholasLYang commented 3 months ago

Thanks! Just checking, is your .turbo folder gitignored? It seems like that's triggering a root change

MattisAbrahamsson commented 3 months ago

Thanks! Just checking, is your .turbo folder gitignored? It seems like that's triggering a root change

Yes it is ignored, but like I wrote in the description, turbo repo is set up inside a folder called frontend, and the gitignore is in the root of the repository.

NicholasLYang commented 3 months ago

Ah gotcha. Would it be possible to add a nested .gitignore to the frontend directory that includes .turbo? Turbo doesn't scan the parent directories for gitignore files.

MattisAbrahamsson commented 3 months ago

Ah gotcha. Would it be possible to add a nested .gitignore to the frontend directory that includes .turbo? Turbo doesn't scan the parent directories for gitignore files.

As a workaround, sure. But I think this is not an all too uncommon use case. We have a monorepo with backend and frontend, the backend is in golang, and the frontend apps in JS, so we keep them separate. Would be cool if Turbo could move up the tree to find the closest gitignore file

Cypher1 commented 1 month ago

I'm also seeing turbo watch build receiving inotify updates on it's own log file. This leads to high CPU load (using up a whole core).

e.g.

2024-09-23T14:41:09.005+1000 [TRACE] log: inotify event: Event { wd: WatchDescriptor { id: 4, fd: (Weak) }, mask: MODIFY, cookie: 0, name: Some("9ce79c974deb35a2-turbo.log.2024-09-23") }
2024-09-23T14:41:09.005+1000 [TRACE] log: inotify event: Event { wd: WatchDescriptor { id: 4, fd: (Weak) }, mask: MODIFY, cookie: 0, name: Some("9ce79c974deb35a2-turbo.log.2024-09-23") }
2024-09-23T14:41:09.005+1000 [TRACE] log: inotify event: Event { wd: WatchDescriptor { id: 4, fd: (Weak) }, mask: MODIFY, cookie: 0, name: Some("9ce79c974deb35a2-turbo.log.2024-09-23") }
2024-09-23T14:41:09.005+1000 [TRACE] log: inotify event: Event { wd: WatchDescriptor { id: 4, fd: (Weak) }, mask: MODIFY, cookie: 0, name: Some("9ce79c974deb35a2-turbo.log.2024-09-23") }
2024-09-23T14:41:09.005+1000 [TRACE] log: inotify event: Event { wd: WatchDescriptor { id: 4, fd: (Weak) }, mask: MODIFY, cookie: 0, name: Some("9ce79c974deb35a2-turbo.log.2024-09-23") }
2024-09-23T14:41:09.005+1000 [TRACE] log: inotify event: Event { wd: WatchDescriptor { id: 4, fd: (Weak) }, mask: MODIFY, cookie: 0, name: Some("9ce79c974deb35a2-turbo.log.2024-09-23") }
2024-09-23T14:41:09.005+1000 [TRACE] log: inotify event: Event { wd: WatchDescriptor { id: 4, fd: (Weak) }, mask: MODIFY, cookie: 0, name: Some("9ce79c974deb35a2-turbo.log.2024-09-23") }
2024-09-23T14:41:09.005+1000 [TRACE] log: inotify event: Event { wd: WatchDescriptor { id: 4, fd: (Weak) }, mask: MODIFY, cookie: 0, name: Some("9ce79c974deb35a2-turbo.log.2024-09-23") }
2024-09-23T14:41:09.005+1000 [TRACE] log: inotify event: Event { wd: WatchDescriptor { id: 4, fd: (Weak) }, mask: MODIFY, cookie: 0, name: Some("9ce79c974deb35a2-turbo.log.2024-09-23") }
2024-09-23T14:41:09.005+1000 [TRACE] log: inotify event: Event { wd: WatchDescriptor { id: 4, fd: (Weak) }, mask: MODIFY, cookie: 0, name: Some("9ce79c974deb35a2-turbo.log.2024-09-23") }
2024-09-23T14:41:09.005+1000 [TRACE] log: inotify event: Event { wd: WatchDescriptor { id: 4, fd: (Weak) }, mask: MODIFY, cookie: 0, name: Some("9ce79c974deb35a2-turbo.log.2024-09-23") }
2024-09-23T14:41:09.005+1000 [TRACE] log: inotify event: Event { wd: WatchDescriptor { id: 4, fd: (Weak) }, mask: MODIFY, cookie: 0, name: Some("9ce79c974deb35a2-turbo.log.2024-09-23") }
2024-09-23T14:41:09.005+1000 [TRACE] log: inotify event: Event { wd: WatchDescriptor { id: 4, fd: (Weak) }, mask: MODIFY, cookie: 0, name: Some("9ce79c974deb35a2-turbo.log.2024-09-23") }