Skip to content
Live refresh chrome extension.
JavaScript CoffeeScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
background
content-script
extension
.gitignore
README.md

README.md

live-refresh-chrome-extension

LiveRefresh Chrome extension.

Installation

Install from Chrome web store

Write a server

  1. Create a WebSocket server listening on port 35730.
  2. Receive a first handshake message from this extension:

      {
        "type": "handshake",
        "protocol": "LR",
        "version": "1.0"
      }
  3. Respond with a handshake message, state server status:

    {
      "type": "handshake",
      "protocol": "LR",
      "version": "1.0"
    }
  4. Send a message after a file is changed:

    {
      "type": "status",
      "status": "change",
      "file": "index.css"
    }

Todo

  • write test
Something went wrong with that request. Please try again.