Skip to content
Browse files

Added docs about clear when matched feature.

  • Loading branch information...
1 parent a41a1b9 commit 8840ea5311e38765f3f40906f93b55ebc718e5c3 @cyphactor committed Jul 25, 2012
Showing with 19 additions and 0 deletions.
  1. +19 −0 README.markdown
View
19 README.markdown
@@ -113,6 +113,25 @@ you.
In the case where it can't find *rbenv* it simply tries to run Guard assuming it is installed as a system gem.
+## Clear Output when Matched String Found
+
+The user must create a json file called `Guard.sublime-settings` in the user
+config directory `Packages/User/`. This file has the following format:
+
+```json
+{
+ "clear_when_find_this_text": "Running: .*_spec.rb"
+}
+```
+
+Some suggested matches are as follows:
+
+* `Running: .*_spec.rb`
+* `Running: .*_spec.rb|Failures:`
+* `Running: .*_spec.rb|Failures:|Reloading Spork for RSpec`
+
+If you do NOT want to use this feature simply do not define the `clear_when_find_this_text` setting.
+
## FAQs
#### Does the Guard process die/exit when Sublime Text 2 dies/exits?

0 comments on commit 8840ea5

Please sign in to comment.
Something went wrong with that request. Please try again.