Real-time notifications for resource changes using the solid-0.1 protocol (SolidOS compatible).
jss start --notifications
Clients discover the WebSocket URL via the Updates-Via header:
curl -I http://localhost:3000/alice/public/
# Updates-Via: ws://localhost:3000/.notifications
Server: protocol solid-0.1
Client: sub http://localhost:3000/alice/public/data.json
Server: ack http://localhost:3000/alice/public/data.json
Server: pub http://localhost:3000/alice/public/data.json (on change)
Updates-Viaprotocol solid-0.1 greetingsub <resource-url>ack <resource-url>pub <resource-url>For development, --live-reload injects a script that auto-refreshes the browser when files change on disk:
jss start --live-reload --notifications
File system changes (editing files directly) also trigger WebSocket notifications.