Skip to content

Commit

Permalink
Windows fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arendjr committed Mar 1, 2025
1 parent cf82f51 commit a79b116
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/biome_service/src/workspace_watcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ impl WorkspaceWatcher {
_ => workspace.open_paths_through_watcher(event.paths),
},
EventKind::Modify(modify_kind) => match modify_kind {
ModifyKind::Data(_) => {
// `ModifyKind::Any` needs to be included as a catch-all.
// Without it, we'll miss events on Windows.
ModifyKind::Data(_) | ModifyKind::Any => {
workspace.open_paths_through_watcher(event.paths)
},
ModifyKind::Name(RenameMode::From) => {
Expand Down

0 comments on commit a79b116

Please sign in to comment.