Skip to content

Commit

Permalink
Update CmdLine.hs
Browse files Browse the repository at this point in the history
  • Loading branch information
fegu authored Feb 26, 2024
1 parent 0599c70 commit 336aad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Diagrams/Backend/CmdLine.hs
Original file line number Diff line number Diff line change
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

1 comment on commit 336aad3

@fegu
Copy link
Owner Author

@fegu fegu commented on 336aad3 Feb 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Please sign in to comment.