Created
August 10, 2012 02:06
-
-
Save juliocesar/3310363 to your computer and use it in GitHub Desktop.
Poor man's dev suite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task :run do | |
rackup = Thread.start { `rackup -p 4567` } | |
compass = Thread.start { `compass watch --sass-dir sass --css-dir css` } | |
# ... | |
at_exit { Thread.kill(rackup) and Thread.kill(compass) } | |
sleep | |
end | |
# In the console, just run: | |
# $ rake run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment