With a new option called --watch. For example, hallmark cc add major --watch (using a subcommand as proposed in #84) would add a new major release to the changelog and then watch for file changes, fixing your edits live. Though it does depend on your editor doing the same.
Similarly, hallmark fix --watch would watch any markdown file. Making hallmark cc add major --watch the same as hallmark cc add major && hallmark fix --watch. Perhaps a subcommand like hallmark watch would be better, unless there's also merit in implementing hallmark lint --watch.
With a new option called
--watch
. For example,hallmark cc add major --watch
(using a subcommand as proposed in #84) would add a new major release to the changelog and then watch for file changes, fixing your edits live. Though it does depend on your editor doing the same.Similarly,
hallmark fix --watch
would watch any markdown file. Makinghallmark cc add major --watch
the same ashallmark cc add major && hallmark fix --watch
. Perhaps a subcommand likehallmark watch
would be better, unless there's also merit in implementinghallmark lint --watch
.