config example updated
This commit is contained in:
parent
ce92e8f8e1
commit
3b0ae64d02
67
README.md
67
README.md
@ -184,44 +184,55 @@ $ go get github.com/tockins/realize
|
|||||||
|
|
||||||
```
|
```
|
||||||
settings:
|
settings:
|
||||||
resources:
|
legacy:
|
||||||
|
status: true // legacy watch status
|
||||||
|
interval: 10s // polling interval
|
||||||
|
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
|
status: false // server status
|
||||||
open: false
|
open: false // open browser at start
|
||||||
host: localhost
|
host: localhost // server host
|
||||||
port: 5001
|
port: 5001 // server port
|
||||||
projects:
|
projects:
|
||||||
- name: realize
|
- name: coin
|
||||||
path: /Users/alessio/go/src/github.com/tockins/realize
|
path: coin // project path
|
||||||
fmt: true
|
commands:
|
||||||
generate: false
|
vet: true
|
||||||
test: false
|
fmt: true
|
||||||
bin: true
|
test: false
|
||||||
build: false
|
generate: false
|
||||||
run: false
|
bin:
|
||||||
|
status: true
|
||||||
|
build:
|
||||||
|
status: false
|
||||||
|
run: true
|
||||||
|
args:
|
||||||
|
- --myarg
|
||||||
watcher:
|
watcher:
|
||||||
preview: false
|
preview: false // watched files preview
|
||||||
paths:
|
paths: // watched paths
|
||||||
- /
|
- /
|
||||||
ignore_paths:
|
ignore_paths: // ignored paths
|
||||||
- server/assets
|
- vendor
|
||||||
exts:
|
exts: // watched extensions
|
||||||
- .go
|
- .go
|
||||||
scripts:
|
scripts:
|
||||||
- type: before
|
- type: before // type
|
||||||
command: go-bindata -pkg="server" assets/...
|
command: ./ls -l // command
|
||||||
path: server
|
changed: true // relaunch when a file changes
|
||||||
|
startuo: true // launch at start
|
||||||
- type: after
|
- type: after
|
||||||
command: go-bindata -pkg="server" assets/...
|
command: ./ls
|
||||||
path: server
|
changed: true
|
||||||
streams:
|
streams: // enable/disable streams
|
||||||
cli_out: true
|
cli_out: true
|
||||||
file_out: false
|
file_out: false
|
||||||
file_log: false
|
file_log: false
|
||||||
file_err: false
|
file_err: false
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user