-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bun Dev Server CSS reload is broken #1143
Labels
bug
Something isn't working
contributors
Affects Contributors (not users)
help wanted
Extra attention is needed
UI
Web UI
Comments
vorburger
added a commit
to vorburger/bun
that referenced
this issue
Mar 1, 2025
This is useful when hot reload doesn't quite work just yet, e.g. in the case of what I'm hitting in enola-dev/enola#1143 (any help & tips on that would be very welcome BTW).
1 task
vorburger
added a commit
to vorburger/enola
that referenced
this issue
Mar 1, 2025
#1144 disables hot reload with |
vorburger
added a commit
that referenced
this issue
Mar 1, 2025
|
oven-sh/bun#17854 now raised about this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
contributors
Affects Contributors (not users)
help wanted
Extra attention is needed
UI
Web UI
I'd like to use the cool new (v1.2.3) magic Hot Reloading (!) Bun Dev Server in this project.
If you clone this repo,
git checkout 957d52d2109d9c22665eb4ddc7a4bd26a455f55e
, andcd web
, then:bun public/index.html
doesn't quite work (because Bun doesn't [can't?] know about thepublic/demo/greeting3.gexf
.bun public/**/*.*
fails with:because Bun doesn't dig what a
*.gexf
is - OK, fair enough! 😆 (Although... shouldn't it perhaps better just "pass through" any unknown file ypes?!)But, of course, this project already has a Bun Dev Server launch script in
web/src/bun/develop.ts
...... and that still "just works" - at least it starts, and on http://localhost:7070 the graph is there! But that Hot Reloading is broken... 😿 If I change something in
public/demo/index.html
, then this appears:It's not clear to me if the CSS has to added to
serve()
? Is this supposed to magically "just work", based on the<link rel="stylesheet" href="enola.css" />
in thepublic/demo/index.html
?@edewit I don't suppose you know how to fix this?
The text was updated successfully, but these errors were encountered: