Created
          July 30, 2012 02:39 
        
      - 
      
- 
        Save malsup/3203611 to your computer and use it in GitHub Desktop. 
    Build-on-Save SublimeText2 plugin
  
        
  
    
      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
    
  
  
    
  | 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