jsorm watch
jsorm watch watches for changes in src/models/ and regenerates automatically.
pnpm jsorm watchUses chokidar for file watching with debounce.
Typical flow
Section titled “Typical flow”# Terminal 1: watch modepnpm jsorm watch
# Terminal 2: development# Edit models in src/models/ → regenerates automaticallyWhen to use
Section titled “When to use”- During development for automatic regeneration
- When you have multiple model files and don’t want to run
jsorm genmanually
