README.md in attractor-0.2.1 vs README.md in attractor-0.3.0
- old
+ new
@@ -50,9 +50,19 @@
$ attractor report
$ --file_prefix|-p app/models
$ --watch|-w
+Serve the output on http://localhost:7890
+
+ $ attractor serve
+ $ --file_prefix|-p app/models
+ $ --watch|-w
+
+### Live Reloading
+
+If you have `guard-livereload` (or a similar service) running on your project, you can leverage the hot reloading functionality by specifying `--watch|-w`. Attractor will then live-reload the browser window when a file watched by `guard-livereload` changes.
+
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).