Files
427e7578-d7bf-49c8-aee9-2dd…/yjs-poll/run_yjs_server.sh

4 lines
216 B
Bash

# The following is suggested in the Yjs docs (https://docs.yjs.dev/ecosystem/connection-provider/y-websocket)
# However, it does not work across a range of NPM versions...
HOST=localhost PORT=1000 npx y-websocket