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

Delay before reload ? #88

Open daslicht opened 8 years ago

daslicht commented 8 years ago

Hi , is there a way to add a delay before the browser gets reloaded?,

This would be useful when developing node based apps which needs some time to restart the server.

Without delay the page gets refreshed before the server has been restarted.

urbgimtam commented 8 years ago

I'm kind of having the same problem. In my case, I save to ftp directly, and it takes a little time to complete the upload.

The delay option currently available is for everything, including the save. I would be great if they could have separate delays for the save, as well as for the refresh.

I would contribute, but I don't know python...

daslicht commented 8 years ago

I have meanwhile just implemented my own refresh. It was super easy since I use socketio anyways