Ok, so I have a program that outputs some specific data to a file with a shared tab.
I used Excel to open and view the contents of a file, however I found that I insist on blocking every file that it opens, to be incredibly annoying as my program will crash if I leave the file open in Excel ... but I would really like the data to gently update after each program start, so I donβt need to close and re-open the file all the time.
So, I decided that it would be easier to use Javascript to parse the file and display it in the html table, and that was it. I instantly knocked something together. Now my program does not crash if I leave the displayed file, however it still does not update ... and I have to open the newly created file every time.
So, I was wondering if there is a mechanism by which my Javascript can be somehow notified of a file change by another process? I know this is unlikely, but I would like to avoid just polling the file for obvious reasons.
I am very familiar with JS, but HTML5 and the new APIs are all new to me.
javascript html5
Luke
source share