diff --git a/.env b/.env index 9528424..3e092ae 100644 --- a/.env +++ b/.env @@ -74,18 +74,19 @@ TLS13_ONLY=TRUE #LR_PORT=35729 # 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 # DEFAULT: "html,xml,css,js,jsx,ts,tsx,php,py" # VALID OPTIONS: Any valid file extension(s) LR_EXTS="html,xml,css,js,jsx,ts,tsx,php,py" # 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 -# DEFAULT: ".git/,.svn/,.vscode/,.idea/" -# VALID OPTIONS: Any valid files or directories/ -LR_EXCLUDE=".git/,.svn/,.vscode/,.idea/" +# DEFAULT: "/\.vscode\//,/\.idea\//,/\.tmp/,/\.swp/" +# VALID OPTIONS: Any valid RegEx that matches files or directories +LR_EXCLUDE="/\.vscode\//,/\.idea\//,/\.tmp/,/\.swp/" # 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.