A simple local web server with modest live-coding functionality, written in node.js.
$ npm install lil -g
Be sure to add the line ...
... to your shell config file, eg.
Starts a local webserver in the current working directory at http://localhost:8000. A socket server is started at http://localhost:8001 which tells your index.html to reload individual assets as they are modified.
- Variables introduced to window scope.
- Added event listeners.
- Appended DOM elements.
If lil encounters any exceptions trying to reverse these actions, it will reload the page in its entirety. This ensures that your development process mimics your audience's experience as closely as possible, without sacrificing feedback time.