HORIZON HASKELLDocslts/ghc-10.0.x8c2f8e82026-10-19Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8c2f8e8 · 2026-10-19

Modulefsnotify-0.4.4.0Haskell2010

System.FSNotify.Devel

Some additional functions on top of System.FSNotify.

Example of compiling scss files with compass

compass :: WatchManager -> FilePath -> m ()
compass man dir = do
 putStrLn $ "compass " ++ encodeString dir
 treeExtExists man dir "scss" $ fp ->
   when ("deploy" notElem splitDirectories fp) $ do
    let d = encodeString $ head (splitDirectories rel)
    system "cd " ++ d ++ "&& bundle exec compass compile"
 return ()
  • 5 values
  • Packagefsnotify-0.4.4.0
  • Exports5
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceDevel.hs