Skip to content

Fix livereload when using serve from stdin#56

Merged
oprypin merged 1 commit intomasterfrom
serve-stdin
Mar 20, 2026
Merged

Fix livereload when using serve from stdin#56
oprypin merged 1 commit intomasterfrom
serve-stdin

Conversation

@oprypin
Copy link
Member

@oprypin oprypin commented Mar 19, 2026

We must not attempt to get the file name of stdin (the current error) and we also must not try to re-read it.

Now that this case is handled specifically at serve, we don't need to generally expect closed files in load_config - it was a workaround and an insufficient one at that.

We must not attempt to get the file name of stdin (the current error) and we also must not try to re-read it.

Now that this case is handled specifically at `serve`, we don't need to generally expect closed files in `load_config` - it was a workaround and an insufficient one at that.
@oprypin oprypin merged commit 3cd9b08 into master Mar 20, 2026
25 checks passed
@oprypin oprypin deleted the serve-stdin branch March 20, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant