websocket-text-relay-vscode
This tool watches for changes to your files and seamlessly relays these updates to the frontend client. With websocket-text-relay-vscode, you can see your code changes reflected live, without the need to save or refresh your browser. This repo contains just the vscode client. The server implementation can be found in the websocket-text-relay repo Install ExtensionSearch for "niels4" in the vscode extension marketplace or checkout the repo and generate the vsix file yourself using vsce UsageOnce the plugin is installed, enable it with the Verify the plugin is working by viewing the status UI hosted at http://localhost:38378 Test your setup is working with a simple vanillajs app: github.com/niels4/live-demo-vanillajs
If you use Now open up vscode, enable WTR with your hotkey or the Open Visit niels4/websocket-text-relay for more information on usage and development. Disable / Enable / Toggle WebSocket Text RelayCommand: Description: Disables / Enables / Toggles the WebSocket text relay functionality.
KeybindingsFor quicker access, you can add custom keybindings for these commands. Here is an example of how to set up keybindings in your
settingsallowNetworkAccessBy default, the http and websocket server will only accept incoming connections from your local machine. If you
wish to allow network access you must set the allowedHostsBy default, the http and websocket server will only accept connections where the hostname is updatesPerSecondYou can use the developerYou can override the command used to start the language server using the Licensewebsocket-text-relay-vscode is released under the MIT License. |