The App Engine local dev server reloads every time there's a change to files - which is cool. What's uncool is that it also reloads on changes in .idea folder of the PyCharm editor, cluttering the logs. Tried adding this to app.yaml
:
skip_files:
- ^(.*/)?#.*#$
- ^(.*/)?.*~$
- ^(.*/)?.*\.py[co]$
- ^(.*/)?.*/RCS/.*$
- ^(.*/)?\..*$
- ^\.idea$ # added this line in order to try and ignore .idea folder on build
This didn't help. Still rebuilds every time I do arbitrary stuff in the editor (not changing any code).
How can I tell App Engine dev server which folder to ignore for hot reload?
dev_appserver.py --help
mentions:In this case this is related to
dev_appserver.py
, which will detect changes in localapp.yaml
and reload local server, whileapp.yaml
running in GAE is not supposed to do because reloading is done bygcloud app deploy
.