sergey
sergey copied to clipboard
Auto refresh in dev mode --watch
Could it be possible to add a auto refresh function to the dev mode --watch?
@MartijnHarmenzon that would be really nice, I'll put it on the todo list 😄
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.
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.