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

Feature: Implement client-server websocket communication #23

Closed
JorchRL opened this issue Jun 18, 2022 · 2 comments
Closed

Feature: Implement client-server websocket communication #23

JorchRL opened this issue Jun 18, 2022 · 2 comments

Comments

@JorchRL
Copy link
Owner

JorchRL commented Jun 18, 2022

I already have a local file-server working See #22. Now I need to implement a websocket connection in order to implement a "live reload" feature.

As well as using it as the basis for client-server communication in the future!

  • I may want to save files to the file system as binary blobs (maybe). Or to an embedded database (ie. sqlite).
@JorchRL
Copy link
Owner Author

JorchRL commented Jun 18, 2022

See: https://doc.deno.land/deno/stable/~/Deno.watchFs

I could use Deno.watchFs to trigger a "location.reload()" on the client using websockets.

This is nice as I would prefer not having to reload the server (because #24 would be much more difficult to implement if so)

@JorchRL
Copy link
Owner Author

JorchRL commented Jun 29, 2022

Closed in favor of implementing it in a separate library. See #29

@JorchRL JorchRL closed this as completed Jun 29, 2022
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

No branches or pull requests

1 participant