docs(README): fix incomplete docker cmds
This commit is contained in:
parent
81c0b51748
commit
e738213ea0
@ -41,7 +41,7 @@ ## Volume mapping
|
||||
## Example run commands
|
||||
|
||||
```bash
|
||||
docker run --name livereload --restart unless-stopped \
|
||||
docker run -d --name livereload --restart unless-stopped \
|
||||
-v /home/user/Documents/myWebPage:/var/watch \
|
||||
-p 35729:35729 \
|
||||
asifbacchus/livereload:latest
|
||||
@ -54,7 +54,7 @@ ### Using environment variables
|
||||
Say you want to only monitor html and css files and you want to ignore anything going on in your 'oldversion' folder. You can set environment variables as follows:
|
||||
|
||||
```bash
|
||||
docker run --name livereload --restart unless-stopped \
|
||||
docker run -d --name livereload --restart unless-stopped \
|
||||
-v /home/user/Documents/myWebPage:/var/watch \
|
||||
-p 35729:35729 \
|
||||
-e EXT="html,css" \
|
||||
@ -65,7 +65,7 @@ ### Using environment variables
|
||||
If you wanted a longer polling period, run as follows:
|
||||
|
||||
```bash
|
||||
docker run --name livereload --restart unless-stopped \
|
||||
docker run -d --name livereload --restart unless-stopped \
|
||||
-v /home/user/Documents/myWebPage:/var/watch \
|
||||
-p 35729:35729 \
|
||||
-e DELAY=3000 \
|
||||
|
Loading…
Reference in New Issue
Block a user