Sublime Forum

Cause LiveReload refresh when editing file changes externaly

#1

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.
This works fine if I am working only in Sublime Text editor.

However I also work in Visual Studio on the same set of files. I added Sublime Text as an external process that I can run and pass currently edited page and its cursor position
so when Sublime Text opens that file I can be on the current line.

This works fine too.

What it doesn’t work is I edit the file and save it in Visual Studio, but that change is not detected as “Save in Sublime” and I don’t see LiveReload functionality.

Is there a way to treat a change to the current file from an external program as “Save” operation (I believe that the file will be reloaded in Sublime Text) which in turn will trigger LiveReload in the browser?

Thanks,
Rad

0 Likes

#2

I guess you will have to use the application from livereload.com/ wich will watch your project folders for changes…

0 Likes