Skip to content
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

claat watch #881

Open
vorburger opened this issue Oct 28, 2023 · 0 comments
Open

claat watch #881

vorburger opened this issue Oct 28, 2023 · 0 comments

Comments

@vorburger
Copy link

It would be cool if there was a claat watch kind of command.

I would expect it to behave just like export, followed by serve - but then keep "watching" (inotify) the input files for changes, and automagically re-run export at every change.

This would make for a "tight inner loop" while writing Codelabs, allowing to change a Markdown file, Ctrl-S to Save it, F5 to reload in the brower.

It is, of course, possible to put something like this together manually, using e.g. like https://github.com/eradman/entr (also on https://eradman.com/entrproject/) or some other tool like that; as I have started (and may finish) on #873, but a "native" solution built into claat one day could be neat.

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

No branches or pull requests

1 participant