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
CLI help could be clearer about interaction of watching and stdin input #3996
Comments
This is not expected to work, and it has nothing to do with If you need this functionality you'll need to manually implement it yourself using a loop that notices some kind of EOF in the content stream itself and them ships it off to Typst in a discrete invocation. Or did you just mean |
Hi @alerque,
I am using the below command to read from STDIN and it works. Thank you!
|
I am not able to make sense of your situation. For starters:
This is not accurate, it does in fact compile, what it doesn't do is recompile since there is no way to send a new batch of content to the same stream. The help docs perhaps could use updating, but I'm confused there too because the output I get from The docs for |
Not sure whether we can easily adjust the comments there as it's reused on the code level. |
Description
Typst version: 0.11.0.
Issue: I use the following command to read from stdin but watch does not compile.
I see this feature was added in #3339, but seems not working for me. Please confirm if is is broken. Thank you!
Reproduction URL
No response
Operating system
macOS
Typst version
The text was updated successfully, but these errors were encountered: