File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -126,8 +126,6 @@ async fn async_watch(
126
126
}
127
127
}
128
128
129
- log:: debug!( "{:?}" , event. paths) ;
130
-
131
129
let paths = event
132
130
. paths
133
131
. iter ( )
@@ -148,6 +146,7 @@ async fn async_watch(
148
146
) => {
149
147
// if we are going to do a full compile, we don't need to bother marking
150
148
// files dirty because we do a full scan anyway
149
+ log:: debug!( "received {:?} while needs_compile_type was {needs_compile_type:?} -> full compile" , event. kind) ;
151
150
needs_compile_type = CompileType :: Full ;
152
151
}
153
152
@@ -158,6 +157,7 @@ async fn async_watch(
158
157
) => {
159
158
// if we are going to compile incrementally, we need to mark the exact files
160
159
// dirty
160
+ log:: debug!( "received {:?} while needs_compile_type was {needs_compile_type:?} -> incremental compile" , event. kind) ;
161
161
if let Ok ( canonicalized_path_buf) = path_buf
162
162
. canonicalize ( )
163
163
. map ( StrippedVerbatimPath :: to_stripped_verbatim_path)
@@ -219,6 +219,11 @@ async fn async_watch(
219
219
}
220
220
}
221
221
}
222
+
223
+ if needs_compile_type != CompileType :: None {
224
+ log:: debug!( "doing {needs_compile_type:?}" ) ;
225
+ }
226
+
222
227
match needs_compile_type {
223
228
CompileType :: Incremental => {
224
229
let timing_total = Instant :: now ( ) ;
You can’t perform that action at this time.
0 commit comments