Closed noobling closed 6 years ago
I looked into the package some more, it may not be appropriate for us. Might just put this feature on hold for now unless someone finds a way to implement this.
Just for you to know in future on how to implement that package @jamliii
npm install --save-dev reload
let reload = require('reload')
Put that in app.js
under all the other requiresreload(app)
in app.js
above app.use('/', index)
<body>
tag in a view file and add script(src="/reload/reload.js")
oh boy thank you :)
This would be nice feature for us, saves us from pressing refresh every time https://www.npmjs.com/package/reload