diff --git a/build/Dockerfile b/build/Dockerfile index dcccd18..9c94e12 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -38,6 +38,7 @@ ENV LR_PORT=35729 ENV LR_EXTS="html,xml,css,js,jsx,ts,tsx,php,py" ENV LR_EXCLUDE=".git/,.svn/,.vscode/,.idea/" ENV LR_DELAY=500 +ENV LR_DEBUG=true # install livereload npm as node user then switch back to root user USER node diff --git a/build/livereload.js b/build/livereload.js index e52944d..94a11f1 100644 --- a/build/livereload.js +++ b/build/livereload.js @@ -15,7 +15,8 @@ const options = { exts: process.env.LR_EXTS, exclusions: process.env.LR_EXCLUDE, usePolling: true, - delay: process.env.LR_DELAY + delay: process.env.LR_DELAY, + debug: process.env.LR_DEBUG }; // start server