cheat sheets.

$ cheat guard
Guard is a command line tool to easily handle events on file system
modifications.

https://github.com/guard/guard


Interacting with Guard
----------------------

When Guard is idle you can interact with it by entering a command followed by
return/enter:

  - stop: stop|quit|exit|s|q|e + return
      Calls each guard's #stop method, in the same order they are declared in
      the Guardfile, and then quits Guard itself.

  - reload: reload|r|z + return
      Calls each guard's #reload method, in the same order they are declared
      in the Guardfile.

  - pause: pause|p + return
      Toggle files modification listening. Useful when switching git branches.

  - run_all: just return (no commands)
      Calls each guard's #run_all method, in the same order they are declared
      in the Guardfile.

reload and run_all actions can be scoped to only run on a certain guard or
group:

  - backend reload + return
      Call only each guard's #reload method on backend group.

  - rspec + return
      Call only rspec guard's #run_all method.
Version 3, updated 188 days ago.
. o 0 ( | previous | history | revert to | current | diff )
( add new | see all )