We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec87c6b commit 6a6678fCopy full SHA for 6a6678f
lib/mix/lib/mix/compilers/elixir.ex
@@ -432,8 +432,9 @@ defmodule Mix.Compilers.Elixir do
432
has_any_key?(modules_to_recompile, modules) ->
433
# Mark the source as changed so the combination of a timestamp
434
# plus removed beam files (which are removed by update_stale_entries)
435
- # causes it to be recompiled
436
- File.touch!(source, timestamp + 1)
+ # causes it to be recompiled. Note we don't raise use touch! because
+ # in case of checkpoints the file may have been removed.
437
+ File.touch(source, timestamp + 1)
438
[source]
439
440
size != last_size or
0 commit comments