elm-live
elm-live copied to clipboard
Not reloading when the url has some parameter
In case the url is something like:
http://localhost:8001/index.html?a=b
It seems that this snippet is not inserted.
<!-- Inserted by Reload -->
<script src="/reload/reload.js"></script>
<!-- End Reload -->
In start.js:
} else if (url.isType(CONTENT_TYPE)) {
readFile(url.getPath, 'utf8')
.alt(readFile(url.rootpath, 'utf8'))
.fork(resolveNotFound(res), resolveWith(model.reload, res))
url.isType(CONTENT_TYPE is false, so resolveWith is not executed
Could also be somehow related to https://github.com/wking-io/elm-live/issues/199 ?