express-engine-hotloader

2.0.1 • Public • Published

Express engine hotloader

🔥 🔥

const app = require('express')()
const server = require('http').Server(app)
 
const exphbs  = require('express-handlebars')
const exphbsHot = require('express-engine-hotloader')(server, exphbs())
 
app
  .engine('handlebars', exphbsHot)

Enhances an express template engine with hotloading. Without refreshing the page, The DOM gets updated whenever your underlying templates change.

Built on top of hotloader, express-engine-hotloader uses sockets and and a virtual DOM to achieve super fast 🔥 html hotloading 🚒.

No configuration required 👌. Made with ❤️ by des-des
Contributions welcome ✨

Package Sidebar

Install

npm i express-engine-hotloader

Weekly Downloads

1

Version

2.0.1

License

MIT

Unpacked Size

3.09 kB

Total Files

4

Last publish

Collaborators

  • des-des