Guard plugin to automatically run yarn install when package.json changes
Add this line to your application's Gemfile:
group :development do
gem "guard-yarn"
end
And then execute:
$ bundle exec guard init yarn
Bug reports and pull requests are welcome on GitHub at https://github.com/cristianbica/guard-yarn.