Skip to content

Instantly share code, notes, and snippets.

@andreloty
Last active February 23, 2018 01:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andreloty/5c2152b1f87ac7e569a781d95bd51d9d to your computer and use it in GitHub Desktop.
Save andreloty/5c2152b1f87ac7e569a781d95bd51d9d to your computer and use it in GitHub Desktop.
set reloadify on express
// set reloadify
if (process.env.NODE_ENV !== 'prodution') {
var reloadify = require('reloadify')([
__dirname + '/views',
__dirname + '/public',
])
app.use(reloadify)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment