Skip to content

shallker-wang/live-refresh-chrome-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"
  }
  1. Respond with a handshake message, state server status:
{
  "type": "handshake",
  "protocol": "LR",
  "version": "1.0"
}
  1. Send a message after a file is changed:
{
  "type": "status",
  "status": "change",
  "file": "index.css"
}

Todo

  • write test

About

Live refresh chrome extension.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published