I recently started my first project with JSON and have a simple html and JSON file. Whenever I make changes to the file, the HTML does not update at all. I have tried copying the two files to a different folder, changing browsers, clearing history, updating node, updating packages and restarting all to no avail.
Maybe I am using the command wrong? I navigate to the folder with my files and type live-server
and it launches a server on port 8080 (changing ports did not work) with Chrome. To stop the server, I type Ctrl+C
and it asks "Terminate batch job? (y/n)". I then type "y" and hit enter. My best guess is that the server is not actually terminating but the site does not work on reload.
via Xavier Ruiz
No comments:
Post a Comment