From a8402cf831a63f8595222805dfca9040249944a1 Mon Sep 17 00:00:00 2001 From: James Brechtel Date: Tue, 19 May 2026 23:08:02 -0400 Subject: [PATCH] chore: add fsnotify dependency for live recipe watching --- package.yaml | 1 + roux-server.cabal | 6 ++++++ stack.yaml | 3 +++ stack.yaml.lock | 9 ++++++++- 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/package.yaml b/package.yaml index d21c6d4..e75cb48 100644 --- a/package.yaml +++ b/package.yaml @@ -35,6 +35,7 @@ dependencies: - containers - directory - filepath + - fsnotify - http-types - optparse-applicative - parsec diff --git a/roux-server.cabal b/roux-server.cabal index c7869ea..bf4f78c 100644 --- a/roux-server.cabal +++ b/roux-server.cabal @@ -22,6 +22,7 @@ library Roux.NYTimes Roux.Parser Roux.RecipeIndex + Roux.SchemaOrg Roux.Server Roux.Types other-modules: @@ -45,6 +46,7 @@ library , containers , directory , filepath + , fsnotify , http-types , optparse-applicative , parsec @@ -77,6 +79,7 @@ executable check-recipes , containers , directory , filepath + , fsnotify , http-types , optparse-applicative , parsec @@ -110,6 +113,7 @@ executable roux-server , containers , directory , filepath + , fsnotify , http-types , optparse-applicative , parsec @@ -127,6 +131,7 @@ test-suite roux-server-test other-modules: Roux.NYTimesSpec Roux.ParserSpec + Roux.SchemaOrgSpec Paths_roux_server autogen-modules: Paths_roux_server @@ -147,6 +152,7 @@ test-suite roux-server-test , containers , directory , filepath + , fsnotify , hspec , http-types , optparse-applicative diff --git a/stack.yaml b/stack.yaml index 007bafe..1e7c2da 100644 --- a/stack.yaml +++ b/stack.yaml @@ -2,3 +2,6 @@ resolver: lts-24.38 packages: - . + +extra-deps: + - fsnotify-0.4.4.0 diff --git a/stack.yaml.lock b/stack.yaml.lock index d025909..89b8320 100644 --- a/stack.yaml.lock +++ b/stack.yaml.lock @@ -3,7 +3,14 @@ # For more information, please see the documentation at: # https://docs.haskellstack.org/en/stable/topics/lock_files -packages: [] +packages: +- completed: + hackage: fsnotify-0.4.4.0@sha256:21cc696377bf01bc9b0a2e1edf2e03e43f6655d52d0622bdb493192820e1a5ba,3624 + pantry-tree: + sha256: 1f7fb52c136e080355803941c0b772640a19c4fd418eb56fa62cc24859092b36 + size: 1408 + original: + hackage: fsnotify-0.4.4.0 snapshots: - completed: sha256: abc790b571e0c70e929db74b329e3c18d7e76a6e173e8bdf94f1ba20770d4c24