This repository was archived by the owner on Oct 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 67
This repository was archived by the owner on Oct 15, 2022. It is now read-only.
A way to exclude directory from watch? #6
Copy link
Copy link
Open
Labels
P2major: an upcoming releasemajor: an upcoming releasedocumentationDoc improvements neededDoc improvements neededuser-facingImprovement that increases user experienceImprovement that increases user experience
Description
I have a little postgresql state dir inside my project's dot files, and when PG is running, it does changes some files regularly
[2019-03-29T06:46:35Z DEBUG lorri::watch] Event path ("/home/danbst/dev/jobs/_build/pgdata/base/13393/2601") parent ("/home/danbst/dev/jobs/_build/pgdata/base/13393") matches watched path
[2019-03-29T06:46:35Z DEBUG lorri::watch] Watch Event: RawEvent {
path: Some(
"/home/danbst/dev/jobs/_build/pgdata/base/13393/2601"
),
op: Ok(
CLOSE_WRITE
),
cookie: None
}
[2019-03-29T06:46:35Z DEBUG lorri::watch] watch event: (
Ok(
CLOSE_WRITE
),
Some(
"/home/danbst/dev/jobs/_build/pgdata/base/13393/2601"
)
)
[2019-03-29T06:46:35Z DEBUG lorri::watch] Received event: RawEvent {
path: Some(
"/home/danbst/dev/jobs/_build/pgdata/base/13393/2601"
),
op: Ok(
CLOSE_WRITE
),
cookie: None
}
[2019-03-29T06:46:35Z INFO lorri::watch] Found 28 events
Started
[2019-03-29T06:46:36Z DEBUG lorri::build_loop] original paths: 1235
[2019-03-29T06:46:36Z DEBUG lorri::build_loop] -> reduced to: 4
[2019-03-29T06:46:36Z DEBUG lorri::build_loop] named drvs: {
"shell_gc_root": "/nix/store/dhziglbpkwx0ssmq21lckcwc394wb623-lorri-keep-env-hack-shell.drv",
"shell": "/nix/store/4w3nl3h4x0gl3q6myf6x0nl6hy8ldfsj-shell.drv"
}
It causes regular direnv reloads, like every 10 seconds and direnv debug log on each trivial command.
Is there way to exclude files from watching, probably even use .gitignore?
infinisil and anka-213
Metadata
Metadata
Assignees
Labels
P2major: an upcoming releasemajor: an upcoming releasedocumentationDoc improvements neededDoc improvements neededuser-facingImprovement that increases user experienceImprovement that increases user experience