Skip to content

Instantly share code, notes, and snippets.

@malsup
Created July 30, 2012 02:39
Show Gist options
  • Save malsup/3203611 to your computer and use it in GitHub Desktop.
Save malsup/3203611 to your computer and use it in GitHub Desktop.
Build-on-Save SublimeText2 plugin
import sublime, sublime_plugin
class AutoBuild(sublime_plugin.EventListener):
def on_post_save(self, view):
view.window().run_command("build")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment