Skip to content

Commit cde0f93

Browse files
authored
Turbopack: don't watch output FS (#75680)
AFAICT, Next.js doesn't do this either and this seems to solve this error ``` thread '<unnamed>' panicked at turbopack/crates/turbo-tasks-backend/src/backend/mod.rs:949:13: Dependency tracking is disabled so invalidation is not allowed thread 'tokio-runtime-worker' panicked at turbopack/crates/turbo-tasks-fs/src/lib.rs:265:63: called `Result::unwrap()` on an `Err` value: PoisonError { .. } ```
1 parent bcee095 commit cde0f93

File tree

1 file changed

+0
-1
lines changed
  • turbopack/crates/turbopack-cli/src

1 file changed

+0
-1
lines changed

turbopack/crates/turbopack-cli/src/util.rs

-1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,5 @@ pub async fn project_fs(project_dir: RcStr) -> Result<Vc<Box<dyn FileSystem>>> {
6767
#[turbo_tasks::function]
6868
pub async fn output_fs(project_dir: RcStr) -> Result<Vc<Box<dyn FileSystem>>> {
6969
let disk_fs = DiskFileSystem::new("output".into(), project_dir, vec![]);
70-
disk_fs.await?.start_watching(None).await?;
7170
Ok(Vc::upcast(disk_fs))
7271
}

0 commit comments

Comments
 (0)