Use fsnotify for looping, via diagrams-lib

Accompanies https://github.com/diagrams/diagrams-lib/pull/213

I don't know why I didn't make these changes at the same time as those.