Sha256: e52635b6f99f5ecd3d2f8b220fb85ec9329bc849324dd9ec16973d7f2439fb3e

Contents?: true

Size: 1.63 KB

Versions: 2

Compression:

Stored size: 1.63 KB

Contents

# Guard::Pumadev

Pumadev guard allows to automatically & intelligently restart your applications (just by touching and removing tmp/restart.txt)

* Tested on Ruby 1.9.3, 2.0.0, rbx & jruby

Install
-------

Please be sure to have [Guard](https://github.com/guard/guard) installed before continue.

Install the gem:

``` bash
gem install guard-pumadev
```

Add it to your Gemfile (inside development group):

``` ruby
gem 'guard-pumadev', require: false
```

Add guard definition to your Guardfile by running this command:

``` bash
guard init pumadev
```

Usage
-----

Please read [Guard usage doc](https://github.com/guard/guard#readme)

Guardfile
---------

Pow guard can be really be adapated to all kind of projects.
Please read [Guard doc](https://github.com/guard/guard#readme) for more info about Guardfile DSL.

### Rails app

``` ruby
guard 'pumadev' do
  watch('.rvmrc')
  watch('Gemfile')
  watch('Gemfile.lock')
  watch('config/application.rb')
  watch('config/environment.rb')
  watch(%r{^config/environments/.*\.rb$})
  watch(%r{^config/initializers/.*\.rb$})
end
```

### List of available options:

``` ruby
restart_on_start: true   # Restart Pow on Guard start, default: false
restart_on_reload: false # Restart Pow on Guard reload, default: true
```

Development
-----------

* Source hosted at [GitHub](https://github.com/guard/guard-rspec)
* Report issues/Questions/Feature requests on [GitHub Issues](https://github.com/guard/guard-rspec/issues)

Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change
you make.

Author
------

[Tyler Horan](https://github.com/tylerhoran)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
guard-pumadev-2.0.1 README.md
guard-pumadev-2.0.0 README.md