Permalinks live reloading support

issue #1395
Merge pull request #1586 from jgillich/live-reloading

Permalinks live reloading support