Skip to content

Add autoreloading development server - #17

Open
r-tae wants to merge 2 commits into
Language-Research-Technology:mainfrom
r-tae:devserver
Open

Add autoreloading development server#17
r-tae wants to merge 2 commits into
Language-Research-Technology:mainfrom
r-tae:devserver

Conversation

@r-tae

@r-tae r-tae commented Sep 3, 2025

Copy link
Copy Markdown
Member

No description provided.

@ptsefton

Copy link
Copy Markdown
Contributor

Is this still relevant @r-tae?

@r-tae

r-tae commented May 15, 2026

Copy link
Copy Markdown
Member Author

Yeah its still helpful and the conflicts will be easy to fix

The question is just whether we are okay with shipping this line in every output; it won't do anything unless its served on localhost but its not very elegant to have it there for all future ro-crate-previews

if (window.location.hostname === "localhost") {
  import("/script/simple-live-reload.js");
}

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.

2 participants