I'm loading array data from a .json file using the AJAX object. I'd like to modify that .json file at runtime and reload the new data into the array at runtime as well. I'm using the Array editor to modify the .json file and save it. The file itself has been modified, but when I try to reload the .json file into the array the array data is unchanged. It's as if the .json file is cached at startup and cant be changed during runtime. FYI this is not functionality I plan to allow in the final game, but it helps me debug during development. And I'm running this in Chrome.
Is this expected behavior, or am I doing something wrong? There's mention of file access available when exporting to NW.js, is that required for this file-reload functionality?
Thanks