Added batching behavior for page building.
authorEgon Elbre <egonelbre@gmail.com>
Sun, 15 Dec 2013 15:19:22 +0000 (17:19 +0200)
committerspf13 <steve.francia@gmail.com>
Sat, 28 Dec 2013 18:46:52 +0000 (13:46 -0500)
commit8d80f9b39e42dd5b61af052979a7c04dc8edf851
tree89c1474782e3a3bca03a76c88081d21c5e6f3ce6
parent1979f7d9c7d047340c9205f0d3e6d8393d498f9c
Added batching behavior for page building.

Quite often file watcher gets many changes and each change triggered a
build. One build per second should be sufficient. Also added tracking for
new folders.
commands/hugo.go
watcher/batcher.go [new file with mode: 0644]