Replace Signal handlers README section by Interactions
This commit is contained in:
parent
9fcd8621ad
commit
215af072a2
15
README.md
15
README.md
@ -218,16 +218,17 @@ An exhaustive list of options is available with:
|
|||||||
$ guard help [TASK]
|
$ guard help [TASK]
|
||||||
```
|
```
|
||||||
|
|
||||||
Signal handlers
|
Interactions
|
||||||
---------------
|
------------
|
||||||
|
|
||||||
Signal handlers are used to interact with Guard:
|
**From version >= 0.7.0 Posix Signal handlers are no more used to interact with Guard.**
|
||||||
|
|
||||||
* `Ctrl-C` - Calls each guard's `#stop` method, in the same order they are declared in the Guardfile, and then quits Guard itself.
|
When Guard do nothing you can interact with by entering a command + hitting enter:
|
||||||
* `Ctrl-\` - Calls each guard's `#run_all` method, in the same order they are declared in the Guardfile.
|
|
||||||
* `Ctrl-Z` - Calls each guard's `#reload` method, in the same order they are declared in the Guardfile.
|
|
||||||
|
|
||||||
You can read more about [configure the signal keyboard shortcuts](https://github.com/guard/guard/wiki/Configure-keyboard-shortcuts) in the wiki.
|
* `stop|quit|exit|s|q|e + enter` - Calls each guard's `#stop` method, in the same order they are declared in the Guardfile, and then quits Guard itself.
|
||||||
|
* `reload|r|z + enter` - Calls each guard's `#reload` method, in the same order they are declared in the Guardfile.
|
||||||
|
* `pause|p + enter` - Toggle files modification listening. Useful when switching git branches.
|
||||||
|
* `just enter (no commands)` - Calls each guard's `#run_all` method, in the same order they are declared in the Guardfile.
|
||||||
|
|
||||||
Available Guards
|
Available Guards
|
||||||
----------------
|
----------------
|
||||||
|
Loading…
Reference in New Issue
Block a user