I’m having problems getting a SASS build script running on a coworkers computer. I think maybe the session dies after the sass --watch .:. is ran and it doesn’t continue to watch? Not sure about that, but if it is the issue, is there a way to launch a terminal window first?
Here’s the code I have setup for the OSX build script:
{
"cmd": "sass", "--watch", ".:."],
"working_dir": "$file_path",
"selector": "source.sass"
}
I have it working on windows with:
{
"cmd": "cmd.exe", "/c", "start", "sasswatch.bat", "$file_path"],
"working_dir": "$packages/SASS",
"selector": "source.sass"
}
And then this in a sasswatch.bat file:
cd /d %1
sass --watch .:.
pause