Created
September 21, 2017 15:22
-
-
Save adamdehaven/b1c1510d37b705b312ad745a755d861a to your computer and use it in GitHub Desktop.
Adds a "Kill and Delete Cache" command to the sublime-gulp package for Sublime Text 3
This file contains 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 | |
import sublime_plugin | |
class GulpDeleteCacheOnKill(sublime_plugin.WindowCommand): | |
def run(self): | |
self.window.run_command("gulp_kill") | |
self.window.run_command("gulp_delete_cache") |
This file contains 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
Show hidden characters
[ | |
{ | |
"caption": "Gulp: Kill and Delete Cache", | |
"command": "gulp_delete_cache_on_kill" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment