Re: A proposal for a new auto-reloader in Django

2017-04-02 Thread qingnian213
Hi Aymeric, I feel like using Watchman might be the easiest solution. It keeps triggering the command once an event occurs, so autoreload.py does not need to restart the server in case of a syntax error. Pywatchman does not work on Python 3 and has some dependency problems, so I'm planning to

Re: A proposal for a new auto-reloader in Django

2017-04-02 Thread qingnian213
Hi Carl, I don't quite understand why get_module_paths() in your wsgiwatcher project is returning a list of python module paths. I thought it would return the directory that needs to be monitored. Could you please tell me how this part works? Thanks. David Ma On Thursday, March 30, 2017 at 7

Re: A proposal for a new auto-reloader in Django

2017-03-31 Thread qingnian213
Hi Aymeric, Thanks for this detailed and informative response! I will try to figure out the difficulties of integrating Watchman during the weekend. For the pure-Python solution, I might implement a standalone autoreloader based on Carl's work and replace the current one. Does this look good

Re: A proposal for a new auto-reloader in Django

2017-03-30 Thread qingnian213
Hi Brice, Thanks for the suggestion! I'm not sure whether if I can successfully implement a library like you've mentioned, so for now I might stick with the Watch* libraries available. I really love the goals you've listed and would add these to my proposal. David Ma On Thursday, March 30, 2

Re: A proposal for a new auto-reloader in Django

2017-03-30 Thread qingnian213
Hi Carl, Thanks for mentioning this awesome project! I saw it in one of the discussions but did not take a close look. I'll definitely check this out and try to integrate wsgiwatcher/watcher.py into Django. On Thursday, March 30, 2017 at 7:47:13 AM UTC-7, Carl Meyer wrote: > > Anyone working o

A proposal for a new auto-reloader in Django

2017-03-28 Thread qingnian213
Hi, I'm David Ma, a first-year Science student from the University of British Columbia. I'm a enthusiastic Django developer and have four years Python programming experience. I've read through the posts about replacing the current autoreloader and would like to work on this task during GSoC. I