From d25467d35e671b23683ffdf44b0b7fc143a8bbd8 Mon Sep 17 00:00:00 2001 From: alessio Date: Tue, 8 Aug 2017 23:05:27 +0200 Subject: [PATCH] sample fixed --- README.md | 110 +++++++++++++++++++++++++++--------------------------- 1 file changed, 54 insertions(+), 56 deletions(-) diff --git a/README.md b/README.md index 774511f..c550a0c 100644 --- a/README.md +++ b/README.md @@ -141,63 +141,61 @@ $ go get github.com/tockins/realize For more examples check [Realize Examples](https://github.com/tockins/realize-examples) - ``` - settings: - legacy: - status: true // legacy watch status - interval: 10s // polling interval - resources: // files names related to streams - outputs: outputs.log - logs: logs.log - errors: errors.log - server: - status: false // server status - open: false // open browser at start - host: localhost // server host - port: 5001 // server port - projects: - - name: coin - path: coin // project path - environment: // env variables - test: test - myvar: value - commands: - vet: true - fmt: true - test: false - generate: false - bin: - status: true - build: - status: false - args: - - -race - run: true + ``` + settings: + legacy: + status: true // legacy watch status + interval: 10s // polling interval + resources: // files names related to streams + outputs: outputs.log + logs: logs.log + errors: errors.log + server: + status: false // server status + open: false // open browser at start + host: localhost // server host + port: 5001 // server port + projects: + - name: coin + path: coin // project path + environment: // env variables + test: test + myvar: value + commands: + vet: true + fmt: true + test: false + generate: false + bin: + status: true + build: + status: false args: - - --myarg - watcher: - preview: false // watched files preview - paths: // watched paths - - / - ignore_paths: // ignored paths - - vendor - exts: // watched extensions - - .go - scripts: - - type: before // type - command: ./ls -l // command - changed: true // relaunch when a file changes - startup: true // launch at start - - type: after - command: ./ls - changed: true - streams: // enable/disable streams - cli_out: true - file_out: false - file_log: false - file_err: false - - ``` + - -race + run: true + args: + - --myarg + watcher: + preview: false // watched files preview + paths: // watched paths + - / + ignore_paths: // ignored paths + - vendor + exts: // watched extensions + - .go + scripts: + - type: before // type + command: ./ls -l // command + changed: true // relaunch when a file changes + startup: true // launch at start + - type: after + command: ./ls + changed: true + streams: // enable/disable streams + cli_out: true + file_out: false + file_log: false + file_err: false #### Support us and suggest an improvement