Home > watch

watch

Watch is a project mainly written in Ruby, it's free.

ruby watch.rb # Run your RSpec or Cucumber tests in the background.

A handy script to watch your files and run a command in the background.

INSTALLATION

bundle install tail -2 Gemfile >> /your/app/Gemfile cp watch/watch.rb /your/app cd /your/app

USAGE

The default assumes that you have RSpec tests in /your/app/spec

If you want to change the test command, then edit watch.rb.

Change line 3: command = 'rspec spec' to however you run your

tests.

ruby watch.rb

Previous:android