-
Notifications
You must be signed in to change notification settings - Fork 147
Closed
Labels
Description
Is this a bug report?
Yes
Environment
node: v10.0.0
yarn: 1.6.0
create-elm-app: 1.10.4
OS: Arch Linux
Steps to Reproduce
- Set a proxy in
elm-package.json - Add a single stylesheet to
public, something likepublic/style.css - Link to that stylesheet in
public/index.htmlwith<link rel="stylesheet" href="%PUBLIC_URL%/style.css"> - Run
elm-app start
Expected Behavior
I expected the requests to files in public to not be proxied, and the dev server should serve those files without any extra configuration.
Actual Behavior
The stylesheet is not served because the request to the stylesheet in public is being proxied every single time.
Reproducible Demo
(Paste the link to an example project and exact instructions to reproduce the issue.)