Reflect html changes in browser without restarting the express app

前端 未结 3 564
悲&欢浪女
悲&欢浪女 2021-01-12 19:21

I have an express app. I am using swig as the template engine. Is it possible to reflect my HTML changes in the browser when I click refresh. I don\'t want to restart the s

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-12 19:50

    There are plenty of tools for this:

    • nodemon
    • supervisor
    • node-hot-reload

    And I'm sure you could find more.

提交回复
热议问题