Skip to content

Commit 3481991

Browse files
committed
revert wrong
1 parent cd67eb6 commit 3481991

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

README.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,24 @@ err = http.ListenAndServe(":3000", web.ErrorChecker(m))
5050
...
5151
```
5252

53+
## Using livereload.js
54+
55+
[What is LiveReload?](https://github.com/livereload/livereload-js#what-is-livereload)
56+
57+
This script is meant to be included into the web pages you want to monitor, like this:
58+
59+
```js
60+
...
61+
<script src="http://localhost:35729/livereload.js"></script>
62+
...
63+
```
64+
5365
## Configuration Settings
5466

5567
```yml
5668
# The root of your application relative to your configuration file.
5769
app_root: .
58-
# List of folders you don't want to watch. The more folders you ignore, the
70+
# List of folders you don't want to watch. The more folders you ignore, the
5971
# faster things will be.
6072
ignored_folders:
6173
- vendor
@@ -70,7 +82,7 @@ build_path: /tmp
7082
# unnecessary builds, a delay is used to ignore extra events.
7183
build_delay: 200ms
7284
# If you have a specific sub-directory of your project you want to build.
73-
build_target_path : "./cmd/cli"
85+
build_target_path: "./cmd/cli"
7486
# What you would like to name the built binary.
7587
binary_name: refresh-build
7688
# Extra command line flags you want passed to the built binary when running it.
@@ -79,4 +91,14 @@ command_flags: ["--env", "development"]
7991
command_env: ["PORT=1234"]
8092
# If you want colors to be used when printing out log messages.
8193
enable_colors: true
94+
# If you want livereload websocket server to be used.
95+
livereload:
96+
# Enable livereload
97+
enable: false
98+
# server port
99+
port: 35729
100+
# Run commands when you change in included_folders files.
101+
tasks: []
102+
# List of folders you want to watch.
103+
included_folders: []
82104
```

0 commit comments

Comments
 (0)