Local server not reflecting updated files

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

    You can try to use live-server instead. It works for me.

    npm install live-server -g
    

    And you can start it simply by the command live-server.

提交回复
热议问题