refactor(livereload): update default exclusions

- use RegEx format
- still seems to be ignored, pending issue upstream
This commit is contained in:
Asif Bacchus 2021-07-24 04:09:37 -06:00
parent 2889c153f3
commit 762b97d19d

11
.env
View File

@ -74,18 +74,19 @@ TLS13_ONLY=TRUE
#LR_PORT=35729 #LR_PORT=35729
# LR_EXTS: # LR_EXTS:
# Comma-delimited list of extensions to watch for changes and trigger a browser reload. This list *must* be quoted. # Comma-delimited list of extensions to watch for changes and trigger a browser reload.
# REQUIRED: NO # REQUIRED: NO
# DEFAULT: "html,xml,css,js,jsx,ts,tsx,php,py" # DEFAULT: "html,xml,css,js,jsx,ts,tsx,php,py"
# VALID OPTIONS: Any valid file extension(s) # VALID OPTIONS: Any valid file extension(s)
LR_EXTS="html,xml,css,js,jsx,ts,tsx,php,py" LR_EXTS="html,xml,css,js,jsx,ts,tsx,php,py"
# LR_EXCLUDE: # LR_EXCLUDE:
# Comma-delimited list of files/directories to exclude from monitoring. This list *must* be quoted. # Comma-delimited set of /regular-expressions/ defining what to exclude from monitoring in addition to the defaults.
# Upstream node-livereload lists the following as defaults: "/\.git\//,/\.svn\//,/\.hg\//"
# REQUIRED: NO # REQUIRED: NO
# DEFAULT: ".git/,.svn/,.vscode/,.idea/" # DEFAULT: "/\.vscode\//,/\.idea\//,/\.tmp/,/\.swp/"
# VALID OPTIONS: Any valid files or directories/ # VALID OPTIONS: Any valid RegEx that matches files or directories
LR_EXCLUDE=".git/,.svn/,.vscode/,.idea/" LR_EXCLUDE="/\.vscode\//,/\.idea\//,/\.tmp/,/\.swp/"
# LR_DELAY: # LR_DELAY:
# Amount of time in milliseconds before detecting a change and sending a trigger for a browser reload. Useful if you need to allow time for background recompilation, etc. # Amount of time in milliseconds before detecting a change and sending a trigger for a browser reload. Useful if you need to allow time for background recompilation, etc.