From cf03f7e428759243a5ab4a9fabc6c38681055c55 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 2 Apr 2025 13:22:19 -1000 Subject: [PATCH] fix:ui: require fsnotify-0.4.2.0+, detecting events more reliably on mac This requires hfsevents-0.1.8 which fixes some events being ignored on mac (https://github.com/luite/hfsevents/pull/19), possibly making hledger-ui --watch more reliable in that regard. --- hledger-ui/package.yaml | 2 +- stack8.10.yaml | 2 +- stack9.0.yaml | 2 +- stack9.2.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hledger-ui/package.yaml b/hledger-ui/package.yaml index 07d480115..0d487e05f 100644 --- a/hledger-ui/package.yaml +++ b/hledger-ui/package.yaml @@ -97,7 +97,7 @@ library: - doclayout >=0.3 && <0.6 - extra >=1.7.11 - filepath - - fsnotify >=0.4 && <0.5 + - fsnotify >=0.4.2.0 && <0.5 - githash >=0.1.6.2 - microlens >=0.4 - microlens-platform >=0.2.3.1 diff --git a/stack8.10.yaml b/stack8.10.yaml index 7326691df..003fbb1d3 100644 --- a/stack8.10.yaml +++ b/stack8.10.yaml @@ -30,7 +30,7 @@ extra-deps: # for hledger-ui: - brick-2.3.1 - bimap-0.5.0 -- fsnotify-0.4.0.0 +- fsnotify-0.4.2.0 - text-zipper-0.13 - vty-6.2 - vty-crossplatform-0.4.0.0 diff --git a/stack9.0.yaml b/stack9.0.yaml index 5ab5d12f7..9881b14f6 100644 --- a/stack9.0.yaml +++ b/stack9.0.yaml @@ -31,7 +31,7 @@ extra-deps: - vty-unix-0.2.0.0 - vty-windows-0.2.0.2 - text-zipper-0.13 -- fsnotify-0.4.1.0 +- fsnotify-0.4.2.0 # for hledger-web: # for Shake.hs: diff --git a/stack9.2.yaml b/stack9.2.yaml index e5b6b83e0..09d14841f 100644 --- a/stack9.2.yaml +++ b/stack9.2.yaml @@ -21,7 +21,7 @@ extra-deps: - vty-unix-0.2.0.0 - vty-windows-0.2.0.2 - text-zipper-0.13 -- fsnotify-0.4.1.0 +- fsnotify-0.4.2.0 # for hledger-web: # for Shake.hs: