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
I have noticed that stopWatching does not return until there is another change to the watched file. This does not seem to be the proper behavior.
% cabal repl
\> w <- watchFile "LICENSE" print
\> stopWatching w >> putStrLn "done"
However, watchFile "LICENSE" print >>= \w -> stopWatching w >> putStrLn "done" does finish without a change to the file. Not sure why there is a difference.
The text was updated successfully, but these errors were encountered:
I have noticed that
stopWatching
does not return until there is another change to the watched file. This does not seem to be the proper behavior.However,
watchFile "LICENSE" print >>= \w -> stopWatching w >> putStrLn "done"
does finish without a change to the file. Not sure why there is a difference.The text was updated successfully, but these errors were encountered: