Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconnect to file watcher when disconnected from WebSocket server #130

Merged
merged 4 commits into from
Jul 20, 2019

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Jul 17, 2019

In watching the change of files by --watch and --server, generated HTMLs cannot recover WebSocket connection when disconnected from server.

This PR adds the logic trying to recover connection if disconnected from WebSocket server. It's useful for tracking change of engine JS through using additional tools such as nodemon.

@yhatt yhatt merged commit 5f6635a into master Jul 20, 2019
@yhatt yhatt deleted the reconnect-to-file-watcher branch July 20, 2019 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant