Permalinks live reloading support

issue #1395