Skip to content

Commit

Permalink
Merge pull request #1 from fegu/fegu-patch-1
Browse files Browse the repository at this point in the history
FSNotify alredy uses WatchModeOS for supported platforms. Current code fails to compile on BSD. This fixes the problem with no ill effects for other platforms.
  • Loading branch information
fegu committed Feb 26, 2024
2 parents 0599c70 + 336aad3 commit 42bcb5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Diagrams/Backend/CmdLine.hs
Expand Up @@ -592,7 +592,7 @@ defaultLoopRender opts = when (opts ^. loop) $ do
newProg = newProgName (takeFileName srcPath) prog
timeOfDay = take 8 . drop 11 . show . eventTime

withManagerConf defaultConfig { confWatchMode = WatchModeOS } $
withManagerConf defaultConfig $
\mgr -> do
lock <- newIORef False

Expand Down

0 comments on commit 42bcb5d

Please sign in to comment.