Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 18th, 2018
90
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
def run(cmd)
system 'clear'
puts cmd
system cmd
end
cmd = ARGV[1..-1].join(' ')
watch('(app|spec|lib|test)/*') { run cmd }
Signal.trap('QUIT') { run cmd }
Add Comment
Please,
Sign In
to add comment
Public Pastes
Untitled
1 hour ago | 25.11 KB
Banana pi F3 rebboot
3 hours ago | 9.04 KB
Untitled
3 hours ago | 28.30 KB
Untitled
4 hours ago | 7.80 KB
Untitled
5 hours ago | 26.64 KB
Untitled
6 hours ago | 8.32 KB
Untitled
7 hours ago | 22.03 KB
Untitled
8 hours ago | 5.75 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!