From e738213ea02923f7458d29030c6f65ad4a496f06 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Tue, 5 Jan 2021 14:14:51 -0700 Subject: [PATCH] docs(README): fix incomplete docker cmds --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 91077f9..3503a06 100644 --- a/README.md +++ b/README.md @@ -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 \