diff --git a/nest-cli.json b/nest-cli.json index 1c25f729..d95dee91 100644 --- a/nest-cli.json +++ b/nest-cli.json @@ -3,7 +3,6 @@ "sourceRoot": "src", "compilerOptions": { "plugins": ["@nestjs/swagger"], - "watchPathIgnorePatterns": ["node_modules", "src/dashboard", "dist"], "assets": [ { "include": "dashboard/**", "watchAssets": false }, { "include": "core/engines/webjs/*", "watchAssets": true }, diff --git a/tsconfig.json b/tsconfig.json index 0ec648a4..f03e4497 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,5 +16,10 @@ "incremental": true, "resolveJsonModule": true, "skipLibCheck": true + }, + "include": ["src"], + "exclude": ["node_modules", "dist", "src/dashboard"], + "watchOptions": { + "excludeDirectories": ["**/node_modules", "src/dashboard"] } }