New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

livereloadify-script

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

livereloadify-script

Browserify plugin, aims to inject a livereload script into your js bundle.

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

livereloadify-script Build Status

Browserify plugin, aims to inject a LiveReload script into your js bundle.

Quick Example

$ browserify app.js -o app.bundle.js -p [ livereloadify-script ]

It should have injected this script line in your html:

<script src="//localhost:35729/livereload.js?snipver=1"></script>

Usage

NPM

Use as a browserify plugin:

$ browserify app.js -o app.bundle.js -p [ livereloadify-script --port 37687 ]

Options

  • host: (default localhost) is the address of the LiveReload server.
  • local: (default false) true if you wanna use your local ip address automatically, it will take over the host option unless no ip are found.
  • port: (default 35729) on which the livereload server has been configured.

Testing

To run the test suite, first install the dependencies, then run npm test:

$ npm install
$ npm test

Licence

MIT

Keywords

browserify

FAQs

Package last updated on 08 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts