loop using fsnotify

Accompanies https://github.com/diagrams/diagrams-lib/pull/213

Closes #50