Skip to content

HTTP server#65

Draft
lydell wants to merge 127 commits intomainfrom
http-server
Draft

HTTP server#65
lydell wants to merge 127 commits intomainfrom
http-server

Conversation

@lydell
Copy link
Copy Markdown
Owner

@lydell lydell commented Jul 2, 2023

This makes the already existing HTTP server (used for WebSockets) also serve static files. Explained more in the new docs.

This makes elm-watch an alternative to elm-live and elm-go in many situations.

TODO:

  • tests

lydell and others added 30 commits January 10, 2025 20:55
Firefox has solved the bug with “restricted” errors being thrown a year
ago. However, Firefox still caches style sheets over eagerly, so hot
reloading `@import` still doesn’t work. But at least we don’t need a
separate code path anymore. We still print a warning on Firefox.
Conflicts:
	src/Compile.ts
	src/Errors.ts
	src/Hot.ts
	src/Inject.ts
The old one is always `false` these days.

Fixes #118.
Conflicts:
	src/Errors.ts
	src/Hot.ts
	src/WebSocketServer.ts
	tests/Hot.test.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant