

I don't know how many times I've suffered with some less than optimal solution like you described before I finally got irritated enough and investigated if there was a better way only to find there was and I should have been doing it. I wouldn't want to have 2 reload solution one for sublime and for Visual Studio. Probably not 100 accurate, but Safari also uses webkit for layout, so for styling it's probably pretty close. Is there a way to treat a change to the currently edited file in Sublime Text from an external program as “Save” operation which in turn will trigger LiveReload in the browser?

In order to enable static mode, run with -sor -staticoption. Use static mode If your site is static (not generated dynamically), this method would be useful. Enable these extensions by clicking the LiveReload toolbar button, then the JavaScript snippet is automatically added to the current page. I think the file will only be reloaded in Sublime. Safari, Chrome and Firefox on PC is supported. What it doesn’t work is I edit a file in Visual Studio that I have opened in Sublime text and and save it, that change is not detected as “Save" action in Sublime and I don’t see LiveReload functionality. Internet Explorer and Edge browsers don’t have LiveReload browser plugins. I added Sublime Text as an external process to run from my Tools menu which when run will pass currently edited page and its cursor position to the Sublime Text so when Sublime Text opens that file I can edit the same file and be on the same current line as in Visual Studio (That is a nice feature of Sublime to accept cursor position as input command argument). LiveReload has browser plugins for browsers like Google Chrome, Firefox, and Safari. We can’t wait to see what you build with it.
Livereload safari install#
Install LiveReload Safari/Chrome extension. At GitHub, we’re building the text editor we’ve always wanted: hackable to the core, but approachable on the first day without ever touching a config file. However I also work in Visual Studio on the same set of files. Add guard definition to your Guardfile by running this command: guard init livereload. This works fine if I am working only in Sublime Text editor. Now, if you are using Safari, right-click the page you want to be livereloaded and choose Enable LiveReload: If you are using Chrome or Firefox, just click. I try logging into the application but it. I installed LiveReload and when I activate it in the browser it can communicate with Sublime Text and reload the current page if the “Save" in Sublime is detected. I have been testing out a few browsers and it seems Safari on MacOS when using Grunt Live Reload isnt working.

Livereload safari how to#
Sublime Text 2 - How to cause LiveReload refresh when the currently edited file changes externally (like Visual Studio)
