sergey icon indicating copy to clipboard operation
sergey copied to clipboard

Auto refresh in dev mode --watch

Open MartijnHarmenzon opened this issue 5 years ago • 3 comments

Could it be possible to add a auto refresh function to the dev mode --watch?

MartijnHarmenzon avatar Dec 22 '19 10:12 MartijnHarmenzon

@MartijnHarmenzon that would be really nice, I'll put it on the todo list 😄

trys avatar Jan 02 '20 16:01 trys

I am also interested in this feature, however, there is a workaround if you are using VS Code. You can use Live Server combined with the Live Server Web Extension. Simply add the Surgey server (probably http://localhost:8080/) to the "Actual Server Address" field, and the Live Server address (probably http://127.0.0.1:5500/) to the "Live Server Address" field. This should cause the Sergey project to refresh every time the Live Server refreshes.

So not as smooth as having a built in auto refresh but so far it works with some minor hiccups.

ngblaylock avatar Feb 20 '20 16:02 ngblaylock

I use live server extension for VS Code but it does not work with sergey --watch. It would be awesome to have that feature available for sergey also.

miguelgisbert avatar Sep 09 '22 08:09 miguelgisbert