Hi, Right now, Django only tracks Python module files for autoreload during development. As a project starts to include more custom include files, such as Javascript, SQL, Makefiles, etc.., the autoreload function doesn't apply to these.
For my use case, I have custom view functions that call in separate SQL & Javascript files. (I don’t use the template system.) If I edit these Javascript & SQL files, the Django server doesn’t autoreload. So, I made a pull-request where we can add a manual list of files to track for autoreload: https://github.com/django/django/pull/7791 In your project's settings.py file, assign a variable TRACK_FILES containing a list of full file paths to track. This will track files to autoreload the development run server as these files are updated. Is this OK? This pull request is a basic option and I’m sure it can get more complicated than that (directory tracking, Makefiles, Javscript builds, etc..) -bobby -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" 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-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/77BE6024-04E1-4DC1-89BD-24091F151FFC%40gmail.com. For more options, visit https://groups.google.com/d/optout.
