Skip to content

Commit

Permalink
mark read as session dependent
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Oct 10, 2024
1 parent 3e3158a commit d76c606
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions turbopack/crates/turbo-tasks-fs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ impl Debug for DiskFileSystem {
impl FileSystem for DiskFileSystem {
#[turbo_tasks::function(fs)]
async fn read(&self, fs_path: Vc<FileSystemPath>) -> Result<Vc<FileContent>> {
mark_session_dependent();
let full_path = self.to_sys_path(fs_path).await?;
self.register_invalidator(&full_path)?;

Expand Down

0 comments on commit d76c606

Please sign in to comment.