django/django — pull request #302 by dlamotte (2012-08-25 03:11:19+00:00)
Title: persist a socket across reloads of the dev server

Using livereload (livereload.com) with Django becomes painful when
updating a file immediately results in reloading the webpage AND
the Django dev server. There is a short period of time when the dev
server is not listening as it is busy reloading (frequently hit
when using livereload).

This is exacerbated with larger projects as reload time is longer.

This has been an itch I've wanted to scratch for a long time. Hopefully, this will be accepted so others can benefit from it also. Helps plenty even with users hitting Reload manually on their browser.

(PS: I've used Django for a while, but never contributed. I've attempted to read up on contributing on the site, but I couldn't find much about "Pull Requests" and if I should create a ticket first or not, so please be gentle)