Newlines are the same as any other whitespace, so you can stack options vertically, like this: rerun, it will be parsed with the same rules as command-line arguments. If the current directory contains a file named. verbose enables even more messages (unless you also specified -quiet, which overrides -verbose)Īlso -version and -help, naturally. force-polling use polling instead of a native filesystem scan (useful for Vagrant) notify NOTIFIER use growl or osx or notify-send for notifications (see below) background (or -b) disable on-the-fly commands, allowing the process to be backgrounded clear (or -c) clear the screen before each run With this option, rerun checks the return value without it, rerun checks that the launched process is still running. exit (or -x) expect the program to exit. r -s INT will send a INT and then resume watching for changes) restart (or -r) expect process to restart itself, using signal HUP by default wait sec (or -w) after asking the process to terminate, wait this long (in seconds) before either aborting, or trying the next signal in series. ( -signal KILL is the equivalent of kill -9) This may be useful for forcing the respective process to terminate as quickly as possible. You can use a comma-delimited list if you want to try a signal, wait up to 5 seconds for the process to die, then try again with a different signal, and so on. signal (or -s) use specified signal(s) (instead of the default TERM,INT,KILL) to terminate the previous process. env, but you may also have to explicitly -ignore more dotfiles and dotdirs. Setting -no-ignore-dotfiles allows you to monitor a relevant file like. ignore-dotfiles By default, on top of -pattern and -ignore, we ignore any changes to files and dirs starting with a dot. To ignore a directory, you must append '/*' e.g. ignore pattern file glob to ignore (can be set many times). tmp files, and some other files and directories (like. On top of this, it also ignores dotfiles. This uses the Ruby Dir glob style - see for details. Separate multiple paths with ',' and/or use multiple -d options. dir directory (or directories) to watch (default = "."). These options can be specified on the command line and/or inside a. INFO: Could not find files for the given pattern(s).You may see this persistent INFO error message to remove it, use -no-notify:.
#Shotgun rack app install
you may need to install the wdm gem manually: gem install wdm.you need to press Enter after keypress input.UPDATE: Now Rerun does work on Windows! Caveats: Use the -pattern option if you want to change this.Īs of version 0.7.0, we use the Listen gem, which tries to use your OS'sīuilt-in facilities for monitoring the filesystem, so CPU use is very light. Unix SIGINT and SIGKILL signals, you're sure the restarted app is reallyĪcting just like it was when you ran it from the command line the first time.īy default it watches files ending in: rb,js,coffee,css,scss,sass,erb,html,haml,ru,yml,slim,md,feature,c,h. that doesn't require config files and works on any It's basically a no-frills command-line alternative to Guard, Rerun works for both long-running processes (e.g. Rerun launches your program, then watches the filesystem.