You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.
If an Elm file is modified less than one second after it is compiled, then future runs of elm-make will fail to recompile the file until it is modified again. I believe this is due to the fact that the filesystem (on Mac OS) only has one-second resolution. To fix this, I suspect elm-make should rebuild a file if the source file's timestamp is >= the .elmo file's timestamp (rather than only if it is >).
avh4
changed the title
modified files are not reliably detected due to filesystem timestamp resolution
modified source files are not reliably detected due to filesystem timestamp resolution
Jul 9, 2017
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If an Elm file is modified less than one second after it is compiled, then future runs of elm-make will fail to recompile the file until it is modified again. I believe this is due to the fact that the filesystem (on Mac OS) only has one-second resolution. To fix this, I suspect
elm-make
should rebuild a file if the source file's timestamp is>=
the .elmo file's timestamp (rather than only if it is>
).To reproduce, start with the following files:
A.elm
B.elm
C.elm
Then use the following script:
go.sh
Running
go.sh
produces:But it should produce
A: "A1:B2:C1"
(with B2) as the last line.The text was updated successfully, but these errors were encountered: