Running
Dynamic[Refresh[Import["foo.json"], UpdateInterval->1]]
or
json := Import["foo.json"]
then
Dynamic[Refresh[json, UpdateInterval -> 1]]
do not update as expected!
I can evaluate json manually and get the current json in the file, but if I change the contents of the file, the output of Dynamic
remains static.
Is there a way to achieve this sort of thing?
Dynamic[Refresh[json, TrackedSymbols :> {}, UpdateInterval -> 1]]
$\endgroup$