-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refresh view if given file has changed #65
Comments
Hi |
Anyone to help with this? |
Oh, I just searched this and found some hints! It seems like the problem is caused by caches in your browser. When you close the browser and reopen, or if you open the page in a new browser, then the new entry in the CSV file shows. |
It seems like this is an issue related to Chrome. It refreshes fine for me when I use firefox and manually refresh the page. With google chrome the table doesn't update even after hitting refresh. |
I circumvented the caching with adding random string to the csv link. csv_path: "data/Health Clinics in Chicago.csv", to csv_path: "data/Health Clinics in Chicago.csv?rndstr=<%= getRandomStr() %", |
Hi,
that's more of a question rather than an issue.
Looking at your code example, is it possible to listen to changes for 'data/Health Clinics in Chicago.csv' and refresh the view?
The CSV I am using changes every 5min and I would like to keep the list view updated by adding a listener or hopefully setting some attribute/parameter/configuration.
Thanks
The text was updated successfully, but these errors were encountered: