Narrow down the inotifywait criteria for reloading the dev environment

- listen specifically within awx/awx, so that changes in awxkit or
  awx_collection don't trigger spurious reloads
- expand the exclude pattern to ignore the test directories
This commit is contained in:
Jeff Bradberry
2022-06-13 16:08:20 -04:00
parent 705f86f8cf
commit e8b2998578
2 changed files with 2 additions and 2 deletions

View File

@@ -200,7 +200,7 @@ uwsgi: collectstatic
--logformat "%(addr) %(method) %(uri) - %(proto) %(status)"
awx-autoreload:
@/awx_devel/tools/docker-compose/awx-autoreload /awx_devel "$(DEV_RELOAD_COMMAND)"
@/awx_devel/tools/docker-compose/awx-autoreload /awx_devel/awx "$(DEV_RELOAD_COMMAND)"
daphne:
@if [ "$(VENV_BASE)" ]; then \