Skip to content

stopWatching does not return #7

@BebeSparkelSparkel

Description

@BebeSparkelSparkel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions