Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Issue 249 - programmatic examples didn't work #250

Merged
merged 1 commit into from

2 participants

Neil Matatall Michael Kessler
Neil Matatall

Turns out calling start re-evaluates the guardfile so the evaluate_guardfile has no effect.

Neil Matatall oreoshake Issue 249 - programmatic examples didn't work
Turns out calling start re-evaluates the guardfile so the evaluate_guardfile has no effect.
c0e65e3
Michael Kessler netzpirat merged commit 43b8733 into from
Michael Kessler
Owner

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 1, 2012
  1. Neil Matatall

    Issue 249 - programmatic examples didn't work

    oreoshake authored
    Turns out calling start re-evaluates the guardfile so the evaluate_guardfile has no effect.
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 4 deletions.
  1. +2 −4 README.md
6 README.md
View
@@ -811,8 +811,7 @@ Evaluate a `Guardfile`:
require 'guard'
Guard.setup
-Guard::Dsl.evaluate_guardfile(:guardfile => '/path/to/Guardfile')
-Guard.start
+Guard.start(:guardfile => '/path/to/Guardfile')
```
Evaluate a string as `Guardfile`:
@@ -828,8 +827,7 @@ guardfile = <<-EOF
end
EOF
-Guard::Dsl.evaluate_guardfile(:guardfile_contents => guardfile)
-Guard.start
+Guard.start(:guardfile_contents => guardfile)
```
Issues
Something went wrong with that request. Please try again.