This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 1,000,000+ packages pre-installed, including
lively-reload with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
a livereload server for any folder
lively watches a folder for changes and reloads the browser if it detects any.
$ npm install -g lively-reload
-h, --help output usage information -V, --version output the version number -p, --port <n> The port to which the server should listen to. Default: 3000 -w, --watch [folder path] The folder to watch for changes. Defaults to current directory -e, --endpoint [url] The endpoint/server to redirect requests to. Default: http://localhost/endpoint
$ lively -p 8080 -w /var/www/php -e http://localhost/php