fsnotify

Cross platform library for file change notification.

https://github.com/haskell-fswatch/hfsnotify

Version on this page:0.2.1.2
LTS Haskell 22.14:0.4.1.0
Stackage Nightly 2024-03-28:0.4.1.0
Latest on Hackage:0.4.1.0

See all snapshots fsnotify appears in

BSD-3-Clause licensed by Mark Dittmer
This version can be pinned in stack with:fsnotify-0.2.1.2@sha256:bbb817fc2e489bf9d95a1e538f82807f177d69faf446db02e1b1876e31826161,2749

Module documentation for 0.2.1.2

  • System
    • System.FSNotify
      • System.FSNotify.Devel

hfsnotify

Unified Haskell interface for basic file system notifications.

This is a library. There are executables built on top of it.

Requirements

Windows

compile with -fthreaded

Changes

Changes

Version 0.2.1.2

Update to the new hinotify API (v0.3.10)

Version 0.2.1.1

Catch IO exceptions when initialising inotify on Linux

Version 0.2.1

Don’t use system-filepath

Version 0.2

Use filepath instead of deprecated system-filepath

Version 0.1.0.3

  • Fix the tests

Version 0.1.0.2

  • Restore compatibility with GHC 7.4
  • Fix a bug in treeExtAny, which previously work identically to treeExtExists
  • Improve documentation

Version 0.1.0.1

Include CHANGELOG.md and README.md in the source distribution.

Version 0.1

  • Allow to stop a listening job. Note this changes the return type of watching functions from () to IO ().
  • Previously, some care was taken to prevent multiple callbacks from running simultaneously. It is now the user’s responsibility. See #43 for details.
  • Previously, paths returned to callbacks were relative on Windows. Now they are absolute, like on the other platforms.
  • The WatchConfig type has changed. Previously, it only specified debouncing parameters. Now it also contains polling parameters.
  • The isPollingManager function is added to determine, at runtime, whether the polling implementation is used.