File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,9 @@ async fn async_watch(
153
153
(
154
154
CompileType :: None | CompileType :: Incremental ,
155
155
// when we have a data change event, we can do an incremental compile
156
- EventKind :: Modify ( ModifyKind :: Data ( _) ) ,
156
+ EventKind :: Modify ( ModifyKind :: Data ( _) ) |
157
+ // windows sends ModifyKind::Any on file content changes
158
+ EventKind :: Modify ( ModifyKind :: Any ) ,
157
159
) => {
158
160
// if we are going to compile incrementally, we need to mark the exact files
159
161
// dirty
@@ -210,7 +212,6 @@ async fn async_watch(
210
212
// these are not relevant events for compilation
211
213
EventKind :: Access ( _)
212
214
| EventKind :: Other
213
- | EventKind :: Modify ( ModifyKind :: Any )
214
215
| EventKind :: Modify ( ModifyKind :: Metadata ( _) )
215
216
| EventKind :: Modify ( ModifyKind :: Other ) ,
216
217
) => ( ) ,
You can’t perform that action at this time.
0 commit comments