Local server not reflecting updated files

后端 未结 5 1855
感动是毒
感动是毒 2021-02-13 17:42

I\'m fairly new at user local servers. I\'m using the http-server which is a package from Node. I\'m using it to host an HTML5 game using the Phaser library. I have image assets

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-13 18:11

    You can disable cache in Chrome DevTools under "Network".

    Whenever you reload a page while DevTools is open, it will clear the cache.

提交回复
热议问题