tiny-lr

v2.0.0
Tiny LiveReload server, background-friendly

prepublish:

npm run babel

preversion

npm test

postversion

git push origin master --follow-tags && npm publish

test

npm run eslint && npm run mocha

eslint

eslint . --debug

babel

babel lib/ -d src && babel test/ -d src_test/

mocha

npm run babel && mocha --reporter spec src_test/

test-debug

DEBUG=tinylr:* mocha --reporter list

test-debug-all

DEBUG=* mocha --reporter list

post-change

sh scripts/post-change

get-change

curl http://localhost:35729/changed?files=site.css

watch

npm-watch
npm i tiny-lr

Metadata

  • MIT
  • Whatever
  • mklabs
  • released 10/9/2020

Downloads