My current setup involves a local webpage that is loading a large JSON database file by utilizing a file named data.jsonp that contains data={a JSON dictionary of information}. I then import this file in my HTML using
<script src="data.jsonp"></script>
to load the data as a variable that holds the entire database, and this method is working correctly.
Now, I am faced with the challenge of needing the ability to modify the content of the data.jsonp file and have the data variable automatically update without refreshing the entire website. I have the capability to edit the data.jsonp file, but I'm unsure of how to implement this change to update the data variable dynamically.