Hello,
Which way to watch for file changes and launch rspec is faster, guard or autotest?
My toolchain is vim + tmuxinator (tmux configuration utility). Once I launch 'tmuxinator' I have a vanilla window (browsing/running vim usually) another one runs foreman or thin (depends), a third one who run 'irb' to get access to models (much like rails console) and a last one running 'autotest'. My OS is MacOSX.
I'm using rspec 3.0.3 now. When I 'save' a file with vim, I have to wait for at leas 3-5 seconds before all tests are finished and I have only 7 now! Is there a way make testing faster? (like 0.3-5 seconds?!). Now I'm monitoring file changes via 'autotest-fsevent'.
I installed 'Spork' which is supposed to be faster, but doesn't play well with autotest. When I launch 'spork', rspec (with --drb option) sends the test to the drb server (running on yet another tmux window) but I don't get any notifications and autotest fails to run, growl comes up with an error notification.
I'm thinking of guard now, but the guard configuration seems to be hard to configure. I never used 'guard' for anything, so I'm not familiar with it. Does anyone know if I'll get any speed out of it if I switch from autotest to guard? Anyone here using guard/spork with Sinatra?
Thanks,
Panagiotis (atmosx) Atmatzidis
email: atma@convalesco.org
URL: http://www.convalesco.org
GnuPG ID: 0x1A7BFEC5
gpg --keyserver pgp.mit.edu --recv-keys 1A7BFEC5
"As you set out for Ithaca, hope the voyage is a long one, full of adventure, full of discovery [...]" - C. P. Cavafy