From fdb8e1924ade1e080c5303351154016683190158 Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Sun, 31 Mar 2019 18:09:56 +0200 Subject: [PATCH] Add recursive flag to the less file watcher --- README.md | 4 ---- less-watch.sh | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 698a396..c1bfcfa 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,3 @@ docker exec \ Style modifications in `fsfe-website/look` trigger a re build of the styles. After modifications a page reload shoud show the changes. - - - - diff --git a/less-watch.sh b/less-watch.sh index bded9c1..c82bf35 100755 --- a/less-watch.sh +++ b/less-watch.sh @@ -24,7 +24,7 @@ ####################################################################### while inotifywait \ - -e close_write -e create -e moved_to \ + -r -e close_write -e create -e moved_to \ --exclude '\.(swx|swp|min\.css)' fsfe-website/look; do lessc -x fsfe-website/look/fsfe.less fsfe-website/look/fsfe.min.css; done