Created
September 16, 2018 06:30
-
-
Save squalvj/9692f1439f19082c912f8822d7dd26ce to your computer and use it in GitHub Desktop.
simple auto reload server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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