Skip to content

Commit 7cbbd60

Browse files
committed
node: Add helper functions for watching files in dev mode
1 parent 48dc725 commit 7cbbd60

File tree

5 files changed

+245
-16
lines changed

5 files changed

+245
-16
lines changed

Cargo.lock

Lines changed: 105 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,5 @@ diesel = { workspace = true }
4545
prometheus = { version = "0.13.4", features = ["push"] }
4646
json-structural-diff = { version = "0.2", features = ["colorize"] }
4747
pgtemp = { git = "https://github.com/incrypto32/pgtemp", branch = "initdb-args" }
48+
globset = "0.4.16"
49+
notify = "8.0.0"

node/src/dev/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
pub mod watcher;
3+
pub mod helpers;

0 commit comments

Comments
 (0)