Skip to content

claat watch #881

Open
Open
@vorburger

Description

@vorburger

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions