Description
A long-running command that continuously re-generates the typings for the env schema upon change.
Motivation
I am developing a CLI app, which does not have "dev server", instead I run tsc --watch, which helps me debug stuff live (apart from the LSP).
When I edit the .env.schema, these changes are not reflected though, when running
varlock run -- tsc --watch
Proposed Solution
varlock run --watch or varlock codegen --watch
Alternatives
Re-running the "dev" command every time .env.schema has changed.
Additional Information
No response
Description
A long-running command that continuously re-generates the typings for the env schema upon change.
Motivation
I am developing a CLI app, which does not have "dev server", instead I run
tsc --watch, which helps me debug stuff live (apart from the LSP).When I edit the
.env.schema, these changes are not reflected though, when runningProposed Solution
varlock run --watchorvarlock codegen --watchAlternatives
Re-running the "dev" command every time
.env.schemahas changed.Additional Information
No response