Skip to content

Instantly share code, notes, and snippets.

@squalvj
Created September 16, 2018 06:30
Show Gist options
  • Save squalvj/9692f1439f19082c912f8822d7dd26ce to your computer and use it in GitHub Desktop.
Save squalvj/9692f1439f19082c912f8822d7dd26ce to your computer and use it in GitHub Desktop.
simple auto reload server
//npm install --save-dev simple-autoreload-server
var launcher = require('simple-autoreload-server');
var server = launcher({
port: 8008,
path: './dist/html/',
});
module.exports = server;
//run via command "node app"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment