Permalink
Browse files

better readme, based on feedback

  • Loading branch information...
1 parent 7d725c4 commit bcaf5ea3383b572a9a4cb65059b510c80c6aa1aa @aaronblohowiak committed Jan 26, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 README.md
View
@@ -11,7 +11,11 @@ retarter does two things: it launches a process, and it monitors files.
when the files change, it `kill -9`'s the process and starts another one.
## Usage:
-put it in your path.
+put it in your path, then call it in a way that matches this pattern:
+
+ restarter [program name] [arg1 sent to program] [files to watch ...]
+
+Here is an example that uses bash expansion to save some keystrokes in listing the files to watch:
restartr node server.js **/*.js

0 comments on commit bcaf5ea

Please sign in to comment.