From 6970776aa88bd0440c196da057e87a4aa8a6a091 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Mon, 2 May 2022 00:31:19 -0600 Subject: [PATCH] feature: watch 5 directories vs 1 --- build/Dockerfile | 2 +- build/ab-livereload.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index b4ac672..1560510 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -22,7 +22,7 @@ ARG NODE_UID=9999 ARG NODE_GID=9999 RUN addgroup -g ${NODE_GID} -S node \ && adduser -G node -S -u ${NODE_UID} node \ - && mkdir /watch /certs \ + && mkdir /watch /watch2 /watch3 /watch4 /watch5 /certs \ && chown root:node /certs \ && chmod 770 /certs diff --git a/build/ab-livereload.js b/build/ab-livereload.js index 2751aac..3a1343b 100644 --- a/build/ab-livereload.js +++ b/build/ab-livereload.js @@ -54,7 +54,7 @@ else { // start LiveReload server // noinspection JSVoidFunctionReturnValueUsed const lrServer = livereload.createServer(lrOptions, healthCheck.start()); -lrServer.watch('/watch'); +lrServer.watch(['/watch', '/watch2', '/watch3', '/watch4', '/watch5']); // graceful termination on signals const termSignals = {