Skip to content

Commit 0fc1f29

Browse files
Use caching only in watch mode
1 parent 5b69956 commit 0fc1f29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Fable.Cli/Main.fs

+1-1
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ let rec startCompilation (changes: Set<string>) (state: State) = async {
422422
cracked.SourceFiles
423423
|> Array.map (fun f -> f.NormalizedFullPath)
424424
|> fun files ->
425-
if not state.CliArgs.CompilerOptions.DebugMode then files
425+
if Option.isNone state.Watcher then files
426426
else
427427
// Skip files that have a more recent JS version
428428
let skipped =

0 commit comments

Comments
 (0)