libs/nx/src/executors/generate/schema.ts
Schema for the generate
Executor
Properties |
|
watch (Optional) | |
Type |
boolean
|
Default value |
false
|
Description
|
Should this builder watch for changes to the configuration files and automatically re-generate the application? |
import { GenerateAppSchema } from '../shared/generate-app/schema';
// this "cli" comment is necessary for Nx to recognize this as an Executor schema.
// don't remove!
/**
* Schema for the `generate` Executor
* @cli "nx"
*/
export interface GenerateExecutorSchema extends GenerateAppSchema {
/**
* Should this builder watch for changes to the configuration files
* and automatically re-generate the application?
* @default false
*/
watch?: boolean;
}