feature: watch 5 directories vs 1
This commit is contained in:
parent
a17a9d38fd
commit
6970776aa8
@ -22,7 +22,7 @@ ARG NODE_UID=9999
|
|||||||
ARG NODE_GID=9999
|
ARG NODE_GID=9999
|
||||||
RUN addgroup -g ${NODE_GID} -S node \
|
RUN addgroup -g ${NODE_GID} -S node \
|
||||||
&& adduser -G node -S -u ${NODE_UID} node \
|
&& adduser -G node -S -u ${NODE_UID} node \
|
||||||
&& mkdir /watch /certs \
|
&& mkdir /watch /watch2 /watch3 /watch4 /watch5 /certs \
|
||||||
&& chown root:node /certs \
|
&& chown root:node /certs \
|
||||||
&& chmod 770 /certs
|
&& chmod 770 /certs
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ else {
|
|||||||
// start LiveReload server
|
// start LiveReload server
|
||||||
// noinspection JSVoidFunctionReturnValueUsed
|
// noinspection JSVoidFunctionReturnValueUsed
|
||||||
const lrServer = livereload.createServer(lrOptions, healthCheck.start());
|
const lrServer = livereload.createServer(lrOptions, healthCheck.start());
|
||||||
lrServer.watch('/watch');
|
lrServer.watch(['/watch', '/watch2', '/watch3', '/watch4', '/watch5']);
|
||||||
|
|
||||||
// graceful termination on signals
|
// graceful termination on signals
|
||||||
const termSignals = {
|
const termSignals = {
|
||||||
|
Loading…
Reference in New Issue
Block a user