0.1.2 • Published 9 years ago

chrome-remote-reload v0.1.2

Weekly downloads
1
License
GPL-3.0
Repository
gitlab
Last release
9 years ago

Chrome Remote Reload

Description

Starts a chrome instance, loads a specified page, and listens for reload requests via HTTP

Installation

npm install chrome-remote-reloader

Sample Use Case

During development, this can be used to auto-reload from your editor or a file watcher.

For example:

node_modules/.bin/chrome-remote-reloader --url=http://localhost:8080
curl localhost:3456 (can be set as a post save hook in your editor)

Devtools

Note that if devtools are opened remote reload will be disabled until devtools are closed.

Parameters

ParameterDefaultDescription
url./app.htmlThe url to remotely reload
serverPort3456The port that should receive reload requests via http GET
debuggerPort9222Chrome remote debugger port
0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago