fix(livereload): fix exclusions bug

- read environment var as array
- convert array elements to regex objects
- update environment variable defaults
This commit is contained in:
2021-07-28 03:51:56 -06:00
parent 574b6e1e07
commit 1194fc63c6
2 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ ENV PATH=/home/node/.npm-global/bin:$PATH
ENV TZ="Etc/UTC"
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_EXCLUDE=".vscode/,.idea/,.tmp$,.swp$"
ENV LR_DELAY=500
ENV LR_DEBUG=true
ENV LR_HTTPS=true