qq, we’re trying to run django with its autoreload...
# general
h
qq, we’re trying to run django with its autoreload functionality in pants v2.2 but the way that django performs the autoreload looks like it’s spawning a subprocess and copying the environment. https://github.com/django/django/blob/master/django/utils/autoreload.py#L250-L256 In doing so it is failing saying it can’t load the
django
module. Seems like it’s losing sys.path information. I tried using
--loop
and disabling the django autoreload functionality hoping pants could do that for me but when testing a file change pants wasn’t restarting the run goal. Any ideas?