feature(livereload): add debug output as default
This commit is contained in:
parent
fdfba8ab4f
commit
ee38b2468e
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user