static-livereload
livereload server for static file
installation
It depends on gulp and livereload
$ npm install -g static-livereload
utilisation
$ static-livereload --path testServer started on port: 3000 with livereload on port: 35729Here are the directories you can explore and the directories linkedhttp://localhost:3000/ -> /usr/local/lib/node_modules/static-livereload/publichttp://localhost:3000/static -> /Users/farf/Workspace/test
Just go to the url shown and you can now edit files, it will update directly in your browser!
configuration
You can inject a config file:
// config.jsmoduleexports =paths:test: '/path/to/diretory/to/wath'extensions: 'html' 'css' 'js';
$ static-livereload --config /path/to/config/fileServer started on port: 3000 with livereload on port: 35729Here are the directories you can explore and the directories linkedhttp://localhost:3000/ -> /usr/local/lib/node_modules/static-livereload/publichttp://localhost:3000/test -> /path/to/diretory/to/wath