billymoon / Stylus

Stylus Package for Sublime Text 2 / 3
Other
129 stars 31 forks source link

Implement compileOnSave, compile command, [per project] settings file #32

Closed gbouthenot closed 10 years ago

gbouthenot commented 10 years ago

Implement compileOnSave, "compile" command, settings files and per project settings file. Should fix #18

I have been greatly inspired by code from https://github.com/aponxi/sublime-better-coffeescript I added him in the Thanks list, because 90% of the code comes from Sublime-better-coffeescript.

gbouthenot commented 10 years ago

That's strange. Which version of ST are you using ? I'm using ST3. Anyway, I added a try block, so the error won't rise.

billymoon commented 10 years ago

@gbouthenot I was using ST2. Looks like that try/catch fixed it. I made small changes... compileOnSave default as false as many times people might have compile as part of another build process. Also, reduced the amount of configuration file details in the README, it is all still available in the settings file, where I think it is more useful.

Good work :)

gbouthenot commented 10 years ago

Thanks. I'm glad to have this merged !