wking-io / elm-live

⚡ A flexible dev server for Elm. Live reload included.
https://elm-live.com
MIT License
1.05k stars 61 forks source link

Query string not ignored for static files #199

Open rjohnsondev opened 5 years ago

rjohnsondev commented 5 years ago

So when serving with elm-live src/Main.elm -o -u, any static assets that contain a query string eg: http://localhost:8000/static/bootstrap.min.css?12345 returns the contents of index.html.

I think that the expected behaviour in this case would be to serve the static file as per http://localhost:8000/static/bootstrap.min.css.

This issue only presents in version 4, I've reverted back to 3.4.1 which seems to work nicely.

(it's a great tool BTW, it makes development that much more enjoyable)