| 1 |
Things to do: |
| 2 |
|
| 3 |
* Use native file monitoring interface on platforms where it's |
| 4 |
available. |
| 5 |
|
| 6 |
* Implement a "don't scan more frequently that every X seconds" |
| 7 |
functionality. |
| 8 |
|
| 9 |
* Directory scanning is hideously inefficient. For directories with |
| 10 |
the 'files' flag set we only need to rescan the directory if stat |
| 11 |
shows that it has been modified. |
| 12 |
|
| 13 |
* Investigate whether changes to the monitored directory are |
| 14 |
reported correctly under Windows. |
| 15 |
|
| 16 |
* Implement more efficient polling in the degenerate case where you |
| 17 |
only want to know if any of the monitored files has changed. |
| 18 |
That's tricky because the current interface assumes that all the |
| 19 |
File::Monitor::Objects are updated after each call to scan(). |