feature: watch 5 directories vs 1

This commit is contained in:
Asif Bacchus 2022-05-02 00:31:19 -06:00
parent a17a9d38fd
commit 6970776aa8
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 = {