lorentz

0.0.2 • Public • Published

Lorentz.js

Watches for client side file changes and reloads the browser.

    npm install lorentz

Server side.

	var lorentz = require('lorentz')
	lorentz.liveReload(__dirname[, port]) // defaults to 8081

Client-side.

	<script src="http://localhost:8081/lorentz.js"></script>

Specify the files you want to watch in a .lorentzwatch file.

	public/
	app.js
	index.html

Readme

Keywords

none

Package Sidebar

Install

npm i lorentz

Weekly Downloads

1

Version

0.0.2

License

none

Last publish

Collaborators

  • eoinmurray