lepture / python-livereload

livereload server in python
https://livereload.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
1.02k stars 150 forks source link

Honour a watch delay of `forever` (fix: #125) #236

Open jerrykan opened 3 years ago

jerrykan commented 3 years ago

Ensure that a delay value of forever gets added to the list of returned delays so that we can prevent certain watch events for triggering a reload.

This is essentially just implementing the work-around proposed by @dwt

ref: https://github.com/lepture/python-livereload/issues/125#issuecomment-246623070