Getting CoffeeScript Build Script to work in Sublime Text 2 on PC

After watching a great video on Build Scripts within Sublime Text 2, I had a problem getting CoffeeScript to compile from within ST2 on my PC. Kevin Pelgrims wrote a nice blog entry explaining how to do it. His instructions are a bit old because the folder structure for the new CoffeeScript plugin has changed slightly but all I did was paste this code inside the CoffeeScript.sublime-build file:


"cmd": ["coffee.cmd","-c","$file"],
"file_regex": "^(...*?):([0-9]*):?([0-9]*)",
"selector": ""

Just open that file and copy and paste the above code. Save and you should be good to go.

Leave a Reply

Your email address will not be published. Required fields are marked *