Fix static file change detection on Windows.
authorEgon Elbre <egonelbre@gmail.com>
Sun, 15 Dec 2013 14:31:29 +0000 (16:31 +0200)
committerspf13 <steve.francia@gmail.com>
Sat, 28 Dec 2013 18:45:38 +0000 (13:45 -0500)
commite46148f948db3b8d86e9bae6228d5981fcb3b006
treee27bbae4854720c7e20f3bf421399114a106a609
parent065928fcf017b0ce6977fef666f7977f7f09b4d7
Fix static file change detection on Windows.
Fixed windows uses different filepath separator. The filepath.ToSlash
shouldn't be used, because it can cause errors in filepath suffix and prefix
testing since "c:\a" isn't a prefix of "c:/a/b/c".
commands/hugo.go
hugolib/config.go