Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Nov 30, 2024
1 parent 541c5d2 commit d4b8c8c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion crates/next-api/src/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1354,11 +1354,17 @@ async fn any_output_changed(
&& (!server || !asset_path.path.ends_with(".css"))
&& asset_path.is_inside_ref(path)
{
Ok(Some(content_changed(*ResolvedVc::upcast(m))))
anyhow::Ok(Some(content_changed(*ResolvedVc::upcast(m))))
} else {
Ok(None)
}
})
.map(|v| async move {
Ok(match v.await? {
Some(v) => Some(v.to_resolved().await?),
None => None,
})
})
.try_flat_join()
.await?;

Expand Down

0 comments on commit d4b8c8c

Please sign in to comment.