adambrault/bumble — pull request #7 by nlf (2013-06-25 17:46:16+00:00)
Title: Directory watcher

This is backported from the &yet blog. Basically I just abstracted the file parsing to a single function that the directory walker calls for each file. I then used the wtchr module to watch for changes and call it as necessary, as well as updating the posts array, which then gets emitted back to the server so it can reload what it keeps in memory.