Local server not reflecting updated files

后端 未结 5 1867
感动是毒
感动是毒 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:18

    The browser might be caching your code and/or assets.

    In Chrome, with dev tools open (Right click -> Inspect element) you can right click on the refresh button and 'empty cache and hard reload'.

提交回复
热议问题