sample fixed
This commit is contained in:
parent
425f05e926
commit
d25467d35e
110
README.md
110
README.md
|
@ -141,63 +141,61 @@ $ go get github.com/tockins/realize
|
||||||
|
|
||||||
For more examples check [Realize Examples](https://github.com/tockins/realize-examples)
|
For more examples check [Realize Examples](https://github.com/tockins/realize-examples)
|
||||||
|
|
||||||
```
|
```
|
||||||
settings:
|
settings:
|
||||||
legacy:
|
legacy:
|
||||||
status: true // legacy watch status
|
status: true // legacy watch status
|
||||||
interval: 10s // polling interval
|
interval: 10s // polling interval
|
||||||
resources: // files names related to streams
|
resources: // files names related to streams
|
||||||
outputs: outputs.log
|
outputs: outputs.log
|
||||||
logs: logs.log
|
logs: logs.log
|
||||||
errors: errors.log
|
errors: errors.log
|
||||||
server:
|
server:
|
||||||
status: false // server status
|
status: false // server status
|
||||||
open: false // open browser at start
|
open: false // open browser at start
|
||||||
host: localhost // server host
|
host: localhost // server host
|
||||||
port: 5001 // server port
|
port: 5001 // server port
|
||||||
projects:
|
projects:
|
||||||
- name: coin
|
- name: coin
|
||||||
path: coin // project path
|
path: coin // project path
|
||||||
environment: // env variables
|
environment: // env variables
|
||||||
test: test
|
test: test
|
||||||
myvar: value
|
myvar: value
|
||||||
commands:
|
commands:
|
||||||
vet: true
|
vet: true
|
||||||
fmt: true
|
fmt: true
|
||||||
test: false
|
test: false
|
||||||
generate: false
|
generate: false
|
||||||
bin:
|
bin:
|
||||||
status: true
|
status: true
|
||||||
build:
|
build:
|
||||||
status: false
|
status: false
|
||||||
args:
|
|
||||||
- -race
|
|
||||||
run: true
|
|
||||||
args:
|
args:
|
||||||
- --myarg
|
- -race
|
||||||
watcher:
|
run: true
|
||||||
preview: false // watched files preview
|
args:
|
||||||
paths: // watched paths
|
- --myarg
|
||||||
- /
|
watcher:
|
||||||
ignore_paths: // ignored paths
|
preview: false // watched files preview
|
||||||
- vendor
|
paths: // watched paths
|
||||||
exts: // watched extensions
|
- /
|
||||||
- .go
|
ignore_paths: // ignored paths
|
||||||
scripts:
|
- vendor
|
||||||
- type: before // type
|
exts: // watched extensions
|
||||||
command: ./ls -l // command
|
- .go
|
||||||
changed: true // relaunch when a file changes
|
scripts:
|
||||||
startup: true // launch at start
|
- type: before // type
|
||||||
- type: after
|
command: ./ls -l // command
|
||||||
command: ./ls
|
changed: true // relaunch when a file changes
|
||||||
changed: true
|
startup: true // launch at start
|
||||||
streams: // enable/disable streams
|
- type: after
|
||||||
cli_out: true
|
command: ./ls
|
||||||
file_out: false
|
changed: true
|
||||||
file_log: false
|
streams: // enable/disable streams
|
||||||
file_err: false
|
cli_out: true
|
||||||
|
file_out: false
|
||||||
```
|
file_log: false
|
||||||
|
file_err: false
|
||||||
|
|
||||||
|
|
||||||
#### Support us and suggest an improvement
|
#### Support us and suggest an improvement
|
||||||
|
|
Loading…
Reference in New Issue