Guard::Npm
npm guard allows to automatically & intelligently install/update package.json when needed.
Install
Please be sure to have Guard installed before continue.
Install the gem:
$ gem install guard-npm
Add it to your Gemfile (inside development group):
group :development do
gem 'guard-npm'
end
Add guard definition to your Guardfile by running this command:
$ guard init npm
Usage
Please read Guard usage doc
Guardfile
npm guard can be really adapted to all kind of projects.
Standard RubyGem project
guard 'npm' do
watch('package.json')
end
Please read Guard doc for more information about the Guardfile DSL.
Development
- Source hosted at GitHub
- Report issues/Questions/Feature requests on GitHub Issues
Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change you make.




