Hi there,
Using PA, I've set up a very small webapp which publishes the contents of a json file. This json file is periodically updated via another script, which runs as a task from the Schedule tab.
In order for flask to recognise that this file has been updated (and thus reload it's data) I've been using the extra_files parameter to app.run, as follows:
# app.run(debug=True, use_reloader=True, extra_files=[json_file,])
This works perfectly for the flask instance running locally on my laptop - watching the file and reloading upon change. However, it seems to have no effect when I run the same code under PA. Any thoughts as to why this may be and or/what other options I have to achieve this behaviour?
Thanks!