Skip to content

Commit 7bce9ba

Browse files
committed
More logging in search for cause of fsnotify failures on certain linux distros
1 parent 8885c15 commit 7bce9ba

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.stack-work
2+
elm-stuff

ext-sentry/Ext/Filewatch.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ watch root action =
2626
, Debounce.alwaysResetTimer = True
2727
}
2828

29+
Ext.Common.debug $ "👀 file watch booting for " ++ show root
2930
-- start a watching job (in the background)
3031
_ <- watchTree
3132
mgr -- manager
@@ -51,6 +52,7 @@ watch root action =
5152
&& not (List.isInfixOf "data" filepath)
5253
&& not (List.isInfixOf "elm-pkg-js-includes.min.js" filepath)
5354

55+
Ext.Common.debug $ "👀 file event " ++ show e ++ " with shouldRefresh:" ++ show shouldRefresh
5456
onlyWhen shouldRefresh $ Debounce.send trigger filepath
5557
)
5658

0 commit comments

Comments
 (0)