Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Auto refresh in dev mode --watch #38

Open
MartijnHarmenzon opened this issue Dec 22, 2019 · 3 comments
Open

Auto refresh in dev mode --watch #38

MartijnHarmenzon opened this issue Dec 22, 2019 · 3 comments

Comments

@MartijnHarmenzon
Copy link

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

@trys
Copy link
Owner

trys commented Jan 2, 2020

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

@ngblaylock
Copy link

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.

@miguelgisbert
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants