In a Google Apps Script web app (doGet()), I want to refresh display once a certain spreadsheet changes. I was thinking about polling the spreadsheet every ten seconds or so. However, there seems to be no timer, only an ugly workaround (though, smart it is).
Any idea how to realize an automatic refresh?
If you use HtmlServices to build your app, then you’ll have javascript regular
setTimeoutfunction where you can configure your timer easily. On UiApp though, I think you’re restricted to the very smart workaround you linked.