gcollazo / BrowserRefresh-Sublime

This plugin will switch from ST2 and ST3 to Google Chrome, Google Chrome Canary, Safari, Firefox or Opera and reload the active tab
http://gcollazo.github.com/BrowserRefresh-Sublime
565 stars 61 forks source link

Different delays by file-type possible? #73

Closed nemeth-it closed 9 years ago

nemeth-it commented 9 years ago

Is saw that a delay parameter was added for compiled scripts. So that you can say... delay 2 seconds before browser-refresh.

Is there a way to let this plugin identify the file-type you refresh/saving, so that you can have different delays for special file-types?

I thought of something like:

.* = 0.5sec <- global .js = 1sec .sass, .scss, .less = 2sec