From e6a428f85f0d1c7e50dc8262a7687ec2f1ce2d7b Mon Sep 17 00:00:00 2001 From: Maran Date: Mon, 14 Jul 2014 15:25:01 +0200 Subject: [PATCH] Make the reload watcher use windows-safe paths --- ethereal/html_container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethereal/html_container.go b/ethereal/html_container.go index 1e835eebc..2ad06ffb5 100644 --- a/ethereal/html_container.go +++ b/ethereal/html_container.go @@ -59,7 +59,7 @@ func (app *HtmlApplication) RootFolder() string { if err != nil { return "" } - return path.Dir(folder.RequestURI()) + return path.Dir(ethutil.WindonizePath(folder.RequestURI())) } func (app *HtmlApplication) RecursiveFolders() []os.FileInfo { files, _ := ioutil.ReadDir(app.RootFolder())