Created
August 28, 2012 11:15
-
-
Save Kalyse/3497308 to your computer and use it in GitHub Desktop.
Fab Start Stop of inotifywait script watching for LESS CSS Files
This file contains hidden or 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
def startcss(): | |
with lcd(r"%s/bin" % local_dir): | |
local("nohup ./checkCss.sh &> /dev/null < /dev/null &") | |
def stopcss(): | |
local("ps -ef | grep \"checkCss\" | grep -v \"grep\" | awk '{print $2}' | xargs kill -9") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment