chrome-remote-reload

0.1.2 • Public • Published

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

Parameter Default Description
url ./app.html The url to remotely reload
serverPort 3456 The port that should receive reload requests via http GET
debuggerPort 9222 Chrome remote debugger port

Readme

Keywords

Package Sidebar

Install

npm i chrome-remote-reload

Weekly Downloads

0

Version

0.1.2

License

GPL-3.0

Last publish

Collaborators

  • tejohnso