vais/restart

How target just a single file?

Closed this issue · 2 comments

daBee commented

I'm not clear as to how to just target a single file.

I have ~/app.rb that I want to run in the terminal every time it is saved. No subdirectories, nothing else. Just that file. From the docs it seems -i but the regex for "all subdirectory files" is unclear. I'm also seeing .rvm/ trigger the item.

Any insight appreciated. Cheers

vais commented

Have you tried restart -f app.rb ruby app.rb?

daBee commented

I've moved on with rbenv as opposed to RVM, so things are working with the other technology I've been using. Cheers