Skip to content

Commit

Permalink
Work around Listen issue #46.
Browse files Browse the repository at this point in the history
  • Loading branch information
netzpirat committed Jun 20, 2012
1 parent 8704fa7 commit 81e37f8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
@@ -1,8 +1,16 @@
## Master

### Master

### Bug fix

- Work around a Listen issue where the stop task isn't executed. ([@netzpirat][])

### 1.2.0 - 20 June, 2012

- Add a [Coolline](https://github.com/Mon-Ouie/coolline) based interactor (Ruby 1.9.3 only). ([@netzpirat][])
### Improvements

- Add a [Coolline](https://github.com/Mon-Ouie/coolline) based interactor (Ruby 1.9.3 only). ([@netzpirat][])
- More flexible command parser for all interactors. ([@netzpirat][])
- Add 'show' command to describe all plugins in the interactor. ([@netzpirat][])
- Add 'change' command to trigger a file change event in the interactor. ([@netzpirat][])
Expand Down
3 changes: 2 additions & 1 deletion lib/guard.rb
Expand Up @@ -163,10 +163,11 @@ def start(options = {})
# Stop Guard listening to file changes
#
def stop
listener.stop
interactor.stop if interactor
runner.run(:stop)
UI.info 'Bye bye...', :reset => true
#TODO: Move to top when https://github.com/guard/listen/issues/46 is resolved
listener.stop
end

# Reload Guardfile and all Guards currently enabled.
Expand Down

0 comments on commit 81e37f8

Please sign in to comment.