instant
instant copied to clipboard
transparent live-reloading
When using two static path (calling to times instant(...)) only the first path is watched for file modification. Here is a server sample ``` javascript 'use strict'; var express =...
This adds multiple roots support so that you can serve multiple directories under a single mount point (Option 1 in #6).
I can do `ins.reload()` no problem if I initialised `ins` with no params (i.e. `ins = instant()`) but if I pass a root folder to instant (i.e. `ins = instant("/some/folder")`)...
I have files that are created dynamically from a number of files and don't map 1:1 with a static file on the filesystem. It would be very useful to be...
Wrapped reload call on file change on a `setTimeout` so we can pass a delay option. If the current file being served changes, it will reload but the server will...
I decided to implement option 3. It has been easier than I thought. Anyway, I suggest you have a deep look to my mods since I'm new to Javascript