Hi Dan, On Fri, Apr 26, 2019 at 11:00 AM Dan <[email protected]> wrote:
> Forgot to mention that this is on a mac osx host with ubuntu 16 virtualbox > guest, I'm not sure that has something to do with it? > > On Thursday, April 25, 2019 at 10:06:59 PM UTC+2, Dan wrote: >> >> I'm using Django 2.2 on a new project and suddenly the autoreloader is >> looping when I change a file >> >> >> DEBUG: >> >> >> /urls.py. is_changed: False, is_new: True >> >> /urls.py previous mtime: None, current mtime: 1556221457.0 >> >> /urls.py notified as changed. Signal results: [(<function >> translation_file_changed at 0x7fd933e05d90>, None)]. >> >> /urls.py changed, reloading >> >> It says the file is new but it was just changed - it refers >> to translation_file_changed but I have no translation files in my project. >> >> >> My project is on a virtualbox shared folder, if I start a new project >> from scratch it works ok and previous versions of Django work fine. >> >> >> I tried using watchman + pywatchman and it doesn't seem to work at all, I >> dont think it works with shared virtualbox folders. >> >> >> Is there anyway I can get this working with 2.2 can I use the old >> reloader or do I need to revert to 2.1? >> > > Can you try the stable/2.2.x git branch? it contains a couple of post-2.1 fixes to the reloading code which will get released as 2.2.1 in a few days AFAIK.. Also, is the folder where urls-py is located shared between the host and the VM in some way? What file system type is the host using? -- Ramiro Morales @ramiromorales -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAO7PdF-i_q_utWwRZmv9Ab9rWGLZRtaqW-woZb%3DfP68DSoF%3DAg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

