Skip to content

Instantly share code, notes, and snippets.

@Colorfulstan
Created June 15, 2018 12:35
Show Gist options
  • Save Colorfulstan/0448a016f204f32aa33654f0783b5021 to your computer and use it in GitHub Desktop.
Save Colorfulstan/0448a016f204f32aa33654f0783b5021 to your computer and use it in GitHub Desktop.
const livereload = require('livereload')
const server = livereload.createServer({
port: 35729 // default port for live-reload, change if needed
, exclusions: [
'.git/', '.svn/', '.hg/' // default exclusions
// adding Overwolf manifest bc it requires full APP reload in Dev-Tools anyways
, 'manifest.json'
]
});
server.watch(__dirname + "/Files")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment