LiveRefresh Chrome extension.
- Create a WebSocket server listening on port 35730.
- Receive a first handshake message from this extension:
{
"type": "handshake",
"protocol": "LR",
"version": "1.0"
}
- Respond with a handshake message, state server status:
{
"type": "handshake",
"protocol": "LR",
"version": "1.0"
}
- Send a message after a file is changed:
{
"type": "status",
"status": "change",
"file": "index.css"
}
- write test