0.0.2 • Published 13 years ago
lorentz v0.0.2
Lorentz.js
Watches for client side file changes and reloads the browser.
npm install lorentzServer side.
var lorentz = require('lorentz')
lorentz.liveReload(__dirname[, port]) // defaults to 8081Client-side.
<script src="http://localhost:8081/lorentz.js"></script>Specify the files you want to watch in a .lorentzwatch file.
public/
app.js
index.html0.0.2
13 years ago