microsoft / TypeScript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
https://www.typescriptlang.org
Apache License 2.0
101k stars 12.48k forks source link

Typescript recompile app two times in watch mode with non recursive watching on os like linux #37994

Closed baleksandr48 closed 4 years ago

baleksandr48 commented 4 years ago

I've created simple application and run command tsc -w.

Expected behavior: Application have to be compiled. Any changes in the code have to lead to recompile.

Actual behavior: Application compiled. Any changes in the code lead to double recompiling.

Playground Link: I have created public repo: https://github.com/baleksandr48/tsc-bug You can clone it, run npm i and npm run build:watch

I googled a lot of info during the day, tried to update tsc version, reinstalled modules, excluded different directories in ts.config but nothing helps.

P.S. there is only ONE compiling if I run nodemon --watch 'src/**/*.ts' --exec 'tsc' -e ts

sheetalkamat commented 4 years ago

This does not repro with build from master.

baleksandr48 commented 4 years ago

So, I have to upload built version?

sheetalkamat commented 4 years ago

Did you try using typescript nightly drop to see if the issue is fixed. If not give exact details of what changes are you making to which file and log by running tsc --w --extendedDiagnostics.

baleksandr48 commented 4 years ago

I removed typescript from package.json, added --extendedDiagnostics flag to build:watch and run

rm -rf node_modules
rm -rf dist
sudo npm remove -g typescript
sudo npm i -g typescript@next
npm run build:watch

my output:

~/IdeaProjects/tsc-bug(master) » npm run build:watch                                                                                                                                                  al@al-laptop

> tsc-bug@1.0.0 build:watch /home/al/IdeaProjects/tsc-bug
> tsc -w --extendedDiagnostics

[7:22:43 PM] Starting compilation in watch mode...

Current directory: /home/al/IdeaProjects/tsc-bug CaseSensitiveFileNames: true
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/tsconfig.json 2000 undefined Config file
Synchronizing program
CreatingProgramWith::
  roots: ["/home/al/IdeaProjects/tsc-bug/src/app.controller.spec.ts","/home/al/IdeaProjects/tsc-bug/src/app.controller.ts","/home/al/IdeaProjects/tsc-bug/src/app.module.ts","/home/al/IdeaProjects/tsc-bug/src/app.service.ts","/home/al/IdeaProjects/tsc-bug/src/main.ts"]
  options: {"module":1,"declaration":true,"removeComments":true,"emitDecoratorMetadata":true,"experimentalDecorators":true,"target":4,"sourceMap":true,"outDir":"/home/al/IdeaProjects/tsc-bug/dist","baseUrl":"/home/al/IdeaProjects/tsc-bug","incremental":true,"watch":true,"extendedDiagnostics":true,"configFilePath":"/home/al/IdeaProjects/tsc-bug/tsconfig.json"}
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/src/app.controller.spec.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/testing/index.d.ts 250 undefined Source file
DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules 1 undefined Failed Lookup Locations
Elapsed:: 57ms DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules 1 undefined Failed Lookup Locations
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/testing/interfaces/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/testing/interfaces/override-by-factory-options.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/testing/interfaces/override-by.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/testing/testing-module.builder.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/abstract.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/controllers/controller-metadata.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/controllers/controller.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/exceptions/exception-filter.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/features/arguments-host.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/exceptions/rpc-exception-filter.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/Observable.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/Operator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/Subscriber.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/types.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/Subscription.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/iif.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/throwError.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/ConnectableObservable.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/Subject.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/operators/groupBy.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/symbol/observable.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/BehaviorSubject.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/ReplaySubject.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/AsyncSubject.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/scheduler/asap.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/scheduler/AsapScheduler.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/scheduler/AsyncAction.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/scheduler/Action.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/Scheduler.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/scheduler/AsyncScheduler.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/scheduler/async.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/scheduler/queue.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/scheduler/QueueScheduler.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/scheduler/animationFrame.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/scheduler/AnimationFrameScheduler.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/scheduler/VirtualTimeScheduler.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/Notification.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/util/pipe.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/util/noop.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/util/identity.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/util/isObservable.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/util/ArgumentOutOfRangeError.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/util/EmptyError.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/util/ObjectUnsubscribedError.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/util/UnsubscriptionError.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/util/TimeoutError.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/bindCallback.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/bindNodeCallback.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/combineLatest.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/OuterSubscriber.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/InnerSubscriber.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/concat.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/defer.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/empty.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/forkJoin.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/from.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/fromEvent.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/fromEventPattern.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/generate.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/interval.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/merge.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/never.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/of.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/onErrorResumeNext.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/pairs.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/partition.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/race.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/range.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/timer.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/using.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/observable/zip.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/scheduled/scheduled.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/rxjs/internal/config.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/exceptions/ws-exception-filter.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/external/validation-error.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/features/can-activate.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/features/execution-context.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/features/custom-route-param-factory.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/features/nest-interceptor.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/features/paramtype.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/features/pipe-transform.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/type.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/hooks/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/hooks/before-application-shutdown.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/hooks/on-application-bootstrap.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/hooks/on-application-shutdown.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/hooks/on-destroy.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/hooks/on-init.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/http/http-server.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/enums/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/enums/request-method.enum.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/enums/http-status.enum.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/enums/shutdown-signal.enum.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/external/cors-options.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/nest-application-options.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/external/https-options.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/nest-application-context-options.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/services/logger.service.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/injectable.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/middleware/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/middleware/middleware-config-proxy.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/middleware/middleware-configuration.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/middleware/middleware-consumer.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/middleware/nest-middleware.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/modules/dynamic-module.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/modules/module-metadata.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/modules/forward-reference.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/modules/provider.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/scope-options.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/modules/nest-module.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/nest-application-context.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/nest-application.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/websockets/web-socket-adapter.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/nest-microservice.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/metadata-scanner.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/testing/testing-module.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/cache/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/cache/cache.constants.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/cache/cache.module.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/cache/interfaces/cache-module.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/cache/interfaces/cache-manager.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/cache/decorators/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/cache/decorators/cache-key.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/core/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/core/bind.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/core/catch.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/core/controller.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/core/dependencies.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/core/exception-filters.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/core/inject.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/core/injectable.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/core/optional.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/core/set-metadata.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/core/use-guards.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/core/use-interceptors.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/core/use-pipes.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/core/apply-decorators.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/modules/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/modules/global.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/modules/module.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/http/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/http/request-mapping.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/http/route-params.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/http/http-code.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/http/create-route-param-metadata.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/http/render.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/http/header.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/decorators/http/redirect.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/cache/decorators/cache-ttl.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/cache/interceptors/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/cache/interceptors/cache.interceptor.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/cache/interfaces/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/exceptions/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/exceptions/bad-request.exception.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/exceptions/http.exception.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/exceptions/unauthorized.exception.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/exceptions/method-not-allowed.exception.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/exceptions/not-found.exception.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/exceptions/forbidden.exception.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/exceptions/not-acceptable.exception.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/exceptions/request-timeout.exception.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/exceptions/conflict.exception.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/exceptions/gone.exception.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/exceptions/payload-too-large.exception.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/exceptions/unsupported-media-type.exception.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/exceptions/unprocessable-entity.exception.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/exceptions/internal-server-error.exception.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/exceptions/not-implemented.exception.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/exceptions/bad-gateway.exception.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/exceptions/service-unavailable.exception.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/exceptions/gateway-timeout.exception.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/exceptions/im-a-teapot.exception.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/http/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/http/http.module.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/http/interfaces/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/http/interfaces/http-module.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/axios/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/http/http.service.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/pipes/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/pipes/parse-array.pipe.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/pipes/validation.pipe.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/external/class-transform-options.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/external/validator-options.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/utils/http-error-by-code.util.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/pipes/parse-bool.pipe.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/pipes/parse-int.pipe.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/pipes/parse-uuid.pipe.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/serializer/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/serializer/class-serializer.interceptor.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/serializer/decorators/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/serializer/decorators/serialize-options.decorator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/services/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/utils/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/utils/forward-ref.util.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/common/interfaces/microservices/nest-microservice-options.interface.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/adapters/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/adapters/http-adapter.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/application-config.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/injector/instance-wrapper.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/injector/module.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/injector/container.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/injector/module-token-factory.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/injector/modules-container.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/constants.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/discovery/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/discovery/discovery-module.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/discovery/discovery-service.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/exceptions/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/exceptions/base-exception-filter.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/helpers/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/helpers/context-id-factory.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/helpers/http-adapter-host.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/injector/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/injector/module-ref.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/injector/inquirer/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/injector/inquirer/inquirer-constants.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/middleware/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/middleware/builder.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/middleware/routes-mapper.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/nest-application.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/nest-application-context.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/injector/injector.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/nest-factory.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/router/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/router/request/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/router/request/request-constants.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/services/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/core/services/reflector.service.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@nestjs/testing/test.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/src/app.controller.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/src/app.service.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/src/app.module.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/src/main.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@types/color-name/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@types/istanbul-lib-coverage/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@types/istanbul-lib-report/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@types/istanbul-reports/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@types/jest/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/jest-diff/build/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/jest-diff/build/cleanupSemantic.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/jest-diff/build/diffLines.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/jest-diff/build/types.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/jest-diff/build/printDiffs.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/pretty-format/build/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/pretty-format/build/types.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@types/yargs/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@types/yargs-parser/index.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.es2017.full.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.es2017.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.es2016.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.es2015.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.es5.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.es2015.core.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.es2015.collection.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.es2015.iterable.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.es2015.symbol.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.es2015.generator.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.es2015.promise.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.es2015.proxy.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.es2015.reflect.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.es2016.array.include.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.es2017.object.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.es2017.string.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.es2017.intl.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.dom.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.webworker.importscripts.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.scripthost.d.ts 250 undefined Source file
FileWatcher:: Added:: WatchInfo: /usr/local/lib/node_modules/typescript/lib/lib.dom.iterable.d.ts 250 undefined Source file
DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/@nestjs 1 undefined Failed Lookup Locations
Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/@nestjs 1 undefined Failed Lookup Locations
DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/src 1 undefined Failed Lookup Locations
Elapsed:: 1ms DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/src 1 undefined Failed Lookup Locations
DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/rxjs 1 undefined Failed Lookup Locations
Elapsed:: 1ms DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/rxjs 1 undefined Failed Lookup Locations
DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug 0 undefined Failed Lookup Locations
Elapsed:: 1ms DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug 0 undefined Failed Lookup Locations
DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/reflect-metadata 1 undefined Failed Lookup Locations
Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/reflect-metadata 1 undefined Failed Lookup Locations
DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/axios 1 undefined Failed Lookup Locations
Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/axios 1 undefined Failed Lookup Locations
DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/istanbul-lib-coverage 1 undefined Failed Lookup Locations
Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/istanbul-lib-coverage 1 undefined Failed Lookup Locations
DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/istanbul-lib-report 1 undefined Failed Lookup Locations
Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/istanbul-lib-report 1 undefined Failed Lookup Locations
DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/yargs-parser 1 undefined Failed Lookup Locations
Elapsed:: 1ms DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/yargs-parser 1 undefined Failed Lookup Locations
DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/jest-diff 1 undefined Failed Lookup Locations
Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/jest-diff 1 undefined Failed Lookup Locations
DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/pretty-format 1 undefined Failed Lookup Locations
Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/pretty-format 1 undefined Failed Lookup Locations
DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@types 1 undefined Type roots
Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug/node_modules/@types 1 undefined Type roots
[7:22:44 PM] Found 0 errors. Watching for file changes.

Files:                        278
Lines:                      37861
Nodes:                     167620
Identifiers:                62002
Symbols:                    36850
Types:                         76
Instantiations:                 0
Memory used:               72121K
Assignability cache size:       0
Identity cache size:            0
Subtype cache size:             0
Strict subtype cache size:      0
I/O Read time:              0.01s
Parse time:                 0.37s
ResolveTypeReference time:  0.01s
ResolveModule time:         0.30s
Program time:               0.76s
Bind time:                  0.22s
Total time:                 0.98s
DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug 1 undefined Wild card directory
Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /home/al/IdeaProjects/tsc-bug 1 undefined Wild card directory

after updating main.ts file and saving:

FileWatcher:: Triggered with /home/al/IdeaProjects/tsc-bug/src/main.ts 1:: WatchInfo: /home/al/IdeaProjects/tsc-bug/src/main.ts 250 undefined Source file
Scheduling update
Elapsed:: 1ms FileWatcher:: Triggered with /home/al/IdeaProjects/tsc-bug/src/main.ts 1:: WatchInfo: /home/al/IdeaProjects/tsc-bug/src/main.ts 250 undefined Source file
[7:27:43 PM] File change detected. Starting incremental compilation...

Synchronizing program
CreatingProgramWith::
  roots: ["/home/al/IdeaProjects/tsc-bug/src/app.controller.spec.ts","/home/al/IdeaProjects/tsc-bug/src/app.controller.ts","/home/al/IdeaProjects/tsc-bug/src/app.module.ts","/home/al/IdeaProjects/tsc-bug/src/app.service.ts","/home/al/IdeaProjects/tsc-bug/src/main.ts"]
  options: {"module":1,"declaration":true,"removeComments":true,"emitDecoratorMetadata":true,"experimentalDecorators":true,"target":4,"sourceMap":true,"outDir":"/home/al/IdeaProjects/tsc-bug/dist","baseUrl":"/home/al/IdeaProjects/tsc-bug","incremental":true,"watch":true,"extendedDiagnostics":true,"configFilePath":"/home/al/IdeaProjects/tsc-bug/tsconfig.json"}
[7:27:43 PM] Found 0 errors. Watching for file changes.

Files:                        278
Lines:                      37862
Nodes:                     167620
Identifiers:                62002
Symbols:                    36887
Types:                        109
Instantiations:                 7
Memory used:               64978K
Assignability cache size:       1
Identity cache size:            0
Subtype cache size:             0
Strict subtype cache size:      0
I/O Read time:              0.00s
Parse time:                 0.00s
ResolveModule time:         0.00s
ResolveTypeReference time:  0.00s
Program time:               0.00s
Bind time:                  0.00s
Check time:                 0.02s
transformTime time:         0.01s
commentTime time:           0.00s
printTime time:             0.04s
Emit time:                  0.04s
Source Map time:            0.00s
I/O Write time:             0.00s
Total time:                 0.06s
sysLog:: onTimerToUpdateChildWatches:: 2
sysLog:: invokingWatchers:: 1ms:: 0
DirectoryWatcher:: Triggered with /home/al/IdeaProjects/tsc-bug/src :: WatchInfo: /home/al/IdeaProjects/tsc-bug/src 1 undefined Failed Lookup Locations
Scheduling update
Elapsed:: 34ms DirectoryWatcher:: Triggered with /home/al/IdeaProjects/tsc-bug/src :: WatchInfo: /home/al/IdeaProjects/tsc-bug/src 1 undefined Failed Lookup Locations
DirectoryWatcher:: Triggered with /home/al/IdeaProjects/tsc-bug :: WatchInfo: /home/al/IdeaProjects/tsc-bug 1 undefined Wild card directory
Scheduling update
Elapsed:: 0ms DirectoryWatcher:: Triggered with /home/al/IdeaProjects/tsc-bug :: WatchInfo: /home/al/IdeaProjects/tsc-bug 1 undefined Wild card directory
sysLog:: Elapsed 35ms:: onTimerToUpdateChildWatches:: 0 undefined
[7:27:44 PM] File change detected. Starting incremental compilation...

Reloading new file names and options
Synchronizing program
CreatingProgramWith::
  roots: ["/home/al/IdeaProjects/tsc-bug/src/app.controller.spec.ts","/home/al/IdeaProjects/tsc-bug/src/app.controller.ts","/home/al/IdeaProjects/tsc-bug/src/app.module.ts","/home/al/IdeaProjects/tsc-bug/src/app.service.ts","/home/al/IdeaProjects/tsc-bug/src/main.ts"]
  options: {"module":1,"declaration":true,"removeComments":true,"emitDecoratorMetadata":true,"experimentalDecorators":true,"target":4,"sourceMap":true,"outDir":"/home/al/IdeaProjects/tsc-bug/dist","baseUrl":"/home/al/IdeaProjects/tsc-bug","incremental":true,"watch":true,"extendedDiagnostics":true,"configFilePath":"/home/al/IdeaProjects/tsc-bug/tsconfig.json"}
[7:27:44 PM] Found 0 errors. Watching for file changes.

Files:                        278
Lines:                      37862
Nodes:                     167620
Identifiers:                62002
Symbols:                    36850
Types:                         76
Instantiations:                 0
Memory used:               66143K
Assignability cache size:       0
Identity cache size:            0
Subtype cache size:             0
Strict subtype cache size:      0
ResolveTypeReference time:  0.01s
ResolveModule time:         0.01s
Program time:               0.05s
Bind time:                  0.00s
Total time:                 0.05s

Also I pushed this updated project: https://github.com/baleksandr48/tsc-bug

maritaria commented 4 years ago

I am experiencing an issue that I think is related to this issue. For my project, I am have a project root with two dirs: src and dist. I build all files from src with outDir set to ./dist. Also, I use tsc-watch to execute the main js file from the dist file automatically when compilation passes.

Problem

When the node app runs, it ensures a directory exists in CWD (set to ./dist). The creation of the new folder in the dist folder triggers a recompile of the entire app.

What should happen: File changes inside outDir, should not be regarded as a change to the input files.

Cause

See my diagnostics below, but possible cause also present in logs above.

Just after the project has been compiled and the time diagnostics are printed. One additional directory watch is created, on the project root dir. This recursive watch causes the outDir to also be watched.

Solution

Either (allow for) exclude of outDir of watches, or do not watch the project dir (but there probably is good reason to do so).

Environment

package.json ```json { "name": "storage-api", "version": "1.0.0", "main": "dist/index.js", "author": "SNIP", "license": "SNIP", "scripts": { "serve": "tsc-watch --extendedDiagnostics --listEmittedFiles --noClear --onSuccess \"sh -c 'cd dist && node ./index.js'\"", "build": "tsc" }, "dependencies": { "body-parser": "^1.19.0", "express": "^4.17.1" }, "devDependencies": { "@types/express": "^4.17.6", "@types/node": "^13.13.5", "tsc-watch": "^4.2.3", "tslint": "^6.1.2", "typescript": "^3.8.3" } } ```
Installed package versions ``` $ yarn list --depth=0 yarn list v1.22.4 ├─ @babel/code-frame@7.8.3 ├─ @babel/helper-validator-identifier@7.9.5 ├─ @babel/highlight@7.9.0 ├─ @types/body-parser@1.19.0 ├─ @types/connect@3.4.33 ├─ @types/express-serve-static-core@4.17.6 ├─ @types/express@4.17.6 ├─ @types/mime@2.0.1 ├─ @types/node@13.13.5 ├─ @types/qs@6.9.2 ├─ @types/range-parser@1.2.3 ├─ @types/serve-static@1.13.3 ├─ accepts@1.3.7 ├─ ansi-regex@3.0.0 ├─ ansi-styles@3.2.1 ├─ argparse@1.0.10 ├─ array-flatten@1.1.1 ├─ balanced-match@1.0.0 ├─ body-parser@1.19.0 ├─ brace-expansion@1.1.11 ├─ builtin-modules@1.1.1 ├─ bytes@3.1.0 ├─ chalk@2.4.2 ├─ color-convert@1.9.3 ├─ color-name@1.1.3 ├─ commander@2.20.3 ├─ concat-map@0.0.1 ├─ content-disposition@0.5.3 ├─ content-type@1.0.4 ├─ cookie-signature@1.0.6 ├─ cookie@0.4.0 ├─ cross-spawn@5.1.0 ├─ debug@2.6.9 ├─ depd@1.1.2 ├─ destroy@1.0.4 ├─ diff@4.0.2 ├─ duplexer@0.1.1 ├─ ee-first@1.1.1 ├─ encodeurl@1.0.2 ├─ escape-html@1.0.3 ├─ escape-string-regexp@1.0.5 ├─ esprima@4.0.1 ├─ etag@1.8.1 ├─ event-stream@3.3.4 ├─ express@4.17.1 ├─ finalhandler@1.1.2 ├─ forwarded@0.1.2 ├─ fresh@0.5.2 ├─ from@0.1.7 ├─ fs.realpath@1.0.0 ├─ glob@7.1.6 ├─ has-flag@3.0.0 ├─ http-errors@1.7.2 ├─ iconv-lite@0.4.24 ├─ inflight@1.0.6 ├─ inherits@2.0.4 ├─ ipaddr.js@1.9.1 ├─ isexe@2.0.0 ├─ js-tokens@4.0.0 ├─ js-yaml@3.13.1 ├─ lru-cache@4.1.5 ├─ map-stream@0.1.0 ├─ media-typer@0.3.0 ├─ merge-descriptors@1.0.1 ├─ methods@1.1.2 ├─ mime-db@1.44.0 ├─ mime-types@2.1.27 ├─ mime@1.6.0 ├─ minimatch@3.0.4 ├─ minimist@1.2.5 ├─ mkdirp@0.5.5 ├─ ms@2.0.0 ├─ negotiator@0.6.2 ├─ node-cleanup@2.1.2 ├─ on-finished@2.3.0 ├─ once@1.4.0 ├─ parseurl@1.3.3 ├─ path-is-absolute@1.0.1 ├─ path-parse@1.0.6 ├─ path-to-regexp@0.1.7 ├─ pause-stream@0.0.11 ├─ proxy-addr@2.0.6 ├─ ps-tree@1.2.0 ├─ pseudomap@1.0.2 ├─ qs@6.7.0 ├─ range-parser@1.2.1 ├─ raw-body@2.4.0 ├─ resolve@1.17.0 ├─ safe-buffer@5.1.2 ├─ safer-buffer@2.1.2 ├─ semver@5.7.1 ├─ send@0.17.1 ├─ serve-static@1.14.1 ├─ setprototypeof@1.1.1 ├─ shebang-command@1.2.0 ├─ shebang-regex@1.0.0 ├─ split@0.3.3 ├─ sprintf-js@1.0.3 ├─ statuses@1.5.0 ├─ stream-combiner@0.0.4 ├─ string-argv@0.1.2 ├─ strip-ansi@4.0.0 ├─ supports-color@5.5.0 ├─ through@2.3.8 ├─ toidentifier@1.0.0 ├─ tsc-watch@4.2.3 ├─ tslib@1.11.2 ├─ tslint@6.1.2 ├─ tsutils@2.29.0 ├─ type-is@1.6.18 ├─ typescript@3.8.3 ├─ unpipe@1.0.0 ├─ utils-merge@1.0.1 ├─ vary@1.1.2 ├─ which@1.3.1 ├─ wrappy@1.0.2 └─ yallist@2.1.2 ```
Compilation log Notes: running inside a docker composition (image: `node:14`) ``` $ docker-compose up storage-api Starting SNIP_storage-api_1 ... done Attaching to SNIP_storage-api_1 storage-api_1 | yarn run v1.22.4 storage-api_1 | $ tsc-watch --extendedDiagnostics --listEmittedFiles --noClear --onSuccess "sh -c 'cd dist && node ./index.js'" storage-api_1 | storage-api_1 | storage-api_1 | storage-api_1 | ---------------------- storage-api_1 | 10:35:08 AM - Starting compilation in watch mode... storage-api_1 | storage-api_1 | Current directory: /usr/src/app CaseSensitiveFileNames: true storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/tsconfig.json 2000 undefined Config file storage-api_1 | Synchronizing program storage-api_1 | CreatingProgramWith:: storage-api_1 | roots: ["/usr/src/app/src/index.ts","/usr/src/app/src/middleware/index.ts","/usr/src/app/src/storage/files.ts","/usr/src/app/src/storage/routes.ts","/usr/src/app/src/utils/index.ts"] storage-api_1 | options: {"target":2,"module":1,"lib":["lib.dom.d.ts","lib.es2017.d.ts"],"sourceMap":true,"outDir":"/usr/src/app/dist","rootDir":"/usr/src/app/src","strict":true,"noImplicitAny":true,"moduleResolution":2,"esModuleInterop":true,"resolveJsonModule":true,"forceConsistentCasingInFileNames":true,"extendedDiagnostics":true,"listEmittedFiles":true,"watch":true,"configFilePath":"/usr/src/app/tsconfig.json"} storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/src/index.ts 250 undefined Source file storage-api_1 | DirectoryWatcher:: Added:: WatchInfo: /usr/src/app/src 1 undefined Failed Lookup Locations storage-api_1 | Elapsed:: 13ms DirectoryWatcher:: Added:: WatchInfo: /usr/src/app/src 1 undefined Failed Lookup Locations storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/express/index.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/express-serve-static-core/index.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/ts3.7/index.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/ts3.7/base.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/ts3.5/base.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/ts3.2/base.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/base.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/globals.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/async_hooks.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/buffer.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/child_process.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/cluster.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/console.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/constants.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/crypto.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/dgram.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/dns.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/domain.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/events.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/fs.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/http.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/http2.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/https.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/inspector.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/module.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/net.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/os.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/path.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/perf_hooks.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/process.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/punycode.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/querystring.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/readline.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/repl.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/stream.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/string_decoder.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/timers.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/tls.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/trace_events.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/tty.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/url.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/util.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/v8.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/vm.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/worker_threads.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/zlib.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/ts3.2/fs.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/ts3.2/util.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/ts3.2/globals.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2018.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2017.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2016.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2015.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es5.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2015.core.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2015.collection.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2015.generator.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2015.iterable.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2015.symbol.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2015.promise.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2015.proxy.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2015.reflect.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2016.array.include.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2017.object.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2017.string.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2017.intl.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2018.promise.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2018.regexp.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2018.intl.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.esnext.intl.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.es2020.bigint.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/ts3.5/wasi.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/node/ts3.7/assert.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/range-parser/index.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/qs/index.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/serve-static/index.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/mime/index.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/body-parser/index.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types/connect/index.d.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/src/utils/index.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/src/middleware/index.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/src/storage/routes.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/src/storage/files.ts 250 undefined Source file storage-api_1 | FileWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/typescript/lib/lib.dom.d.ts 250 undefined Source file storage-api_1 | DirectoryWatcher:: Added:: WatchInfo: /usr/src/app/node_modules 1 undefined Failed Lookup Locations storage-api_1 | Elapsed:: 1873ms DirectoryWatcher:: Added:: WatchInfo: /usr/src/app/node_modules 1 undefined Failed Lookup Locations storage-api_1 | DirectoryWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types 1 undefined Type roots storage-api_1 | Elapsed:: 0ms DirectoryWatcher:: Added:: WatchInfo: /usr/src/app/node_modules/@types 1 undefined Type roots storage-api_1 | TSFILE: /usr/src/app/dist/utils/index.js storage-api_1 | TSFILE: /usr/src/app/dist/utils/index.js.map storage-api_1 | TSFILE: /usr/src/app/dist/middleware/index.js storage-api_1 | TSFILE: /usr/src/app/dist/middleware/index.js.map storage-api_1 | TSFILE: /usr/src/app/dist/storage/routes.js storage-api_1 | TSFILE: /usr/src/app/dist/storage/routes.js.map storage-api_1 | TSFILE: /usr/src/app/dist/storage/files.js storage-api_1 | TSFILE: /usr/src/app/dist/storage/files.js.map storage-api_1 | TSFILE: /usr/src/app/dist/index.js storage-api_1 | TSFILE: /usr/src/app/dist/index.js.map storage-api_1 | storage-api_1 | 10:35:14 AM - Found 0 errors. Watching for file changes. storage-api_1 | Files: 90 storage-api_1 | Lines: 44399 storage-api_1 | Nodes: 191718 storage-api_1 | Identifiers: 68818 storage-api_1 | Symbols: 61045 storage-api_1 | Types: 19451 storage-api_1 | Memory used: 108077K storage-api_1 | Assignability cache size: 37949 storage-api_1 | Identity cache size: 7 storage-api_1 | Subtype cache size: 66 storage-api_1 | Strict subtype cache size: 0 storage-api_1 | I/O Read time: 0.23s storage-api_1 | Parse time: 0.75s storage-api_1 | Program time: 1.77s storage-api_1 | Bind time: 0.48s storage-api_1 | Check time: 2.11s storage-api_1 | transformTime time: 0.04s storage-api_1 | commentTime time: 0.00s storage-api_1 | printTime time: 0.10s storage-api_1 | Emit time: 0.11s storage-api_1 | Source Map time: 0.00s storage-api_1 | I/O Write time: 0.02s storage-api_1 | Total time: 4.46s storage-api_1 | DirectoryWatcher:: Added:: WatchInfo: /usr/src/app 1 undefined Wild card directory storage-api_1 | Elapsed:: 21ms DirectoryWatcher:: Added:: WatchInfo: /usr/src/app 1 undefined Wild card directory storage-api_1 | [files] initStorage(), diagrams directory: ./diagrams storage-api_1 | diagrams directory error [Error: ENOENT: no such file or directory, access './diagrams/'] { storage-api_1 | errno: -2, storage-api_1 | code: 'ENOENT', storage-api_1 | syscall: 'access', storage-api_1 | path: './diagrams/' storage-api_1 | } storage-api_1 | Directory does not exist, creating... storage-api_1 | Server is running http://localhost:80... storage-api_1 | sysLog:: onTimerToUpdateChildWatches:: 1 storage-api_1 | sysLog:: invokingWatchers:: 16ms:: 0 storage-api_1 | DirectoryWatcher:: Triggered with /usr/src/app :: WatchInfo: /usr/src/app 1 undefined Wild card directory storage-api_1 | Scheduling update storage-api_1 | Elapsed:: 1ms DirectoryWatcher:: Triggered with /usr/src/app :: WatchInfo: /usr/src/app 1 undefined Wild card directory storage-api_1 | sysLog:: Elapsed 17ms:: onTimerToUpdateChildWatches:: 0 undefined storage-api_1 | storage-api_1 | storage-api_1 | storage-api_1 | ---------------------- storage-api_1 | 10:35:16 AM - File change detected. Starting incremental compilation... storage-api_1 | storage-api_1 | Reloading new file names and options storage-api_1 | Synchronizing program storage-api_1 | storage-api_1 | 10:35:16 AM - Found 0 errors. Watching for file changes. storage-api_1 | Files: 90 storage-api_1 | Lines: 44399 storage-api_1 | Nodes: 191718 storage-api_1 | Identifiers: 68818 storage-api_1 | Symbols: 61045 storage-api_1 | Types: 19451 storage-api_1 | Memory used: 109971K storage-api_1 | Assignability cache size: 37949 storage-api_1 | Identity cache size: 7 storage-api_1 | Subtype cache size: 66 storage-api_1 | Strict subtype cache size: 0 storage-api_1 | I/O Read time: 0.23s storage-api_1 | Parse time: 0.75s storage-api_1 | Program time: 1.77s storage-api_1 | Bind time: 0.48s storage-api_1 | Check time: 2.11s storage-api_1 | transformTime time: 0.04s storage-api_1 | commentTime time: 0.00s storage-api_1 | printTime time: 0.10s storage-api_1 | Emit time: 0.11s storage-api_1 | Source Map time: 0.00s storage-api_1 | I/O Write time: 0.02s storage-api_1 | Total time: 4.46s storage-api_1 | [files] initStorage(), diagrams directory: ./diagrams storage-api_1 | [files] Diagrams directory found storage-api_1 | Server is running http://localhost:80... ```
maritaria commented 4 years ago

I just found a workaround for my issue, should it help those reading along. I changed my structure to make the src directory the project root.

Changes to project.json:

"scripts": {
  "serve": "tsc-watch --project ./src --extendedDiagnostics --listEmittedFiles --noClear --onSuccess \"sh -c 'cd dist && node ./index.js'\"",
  "build": "tsc --project ./src"
},

Changes to tsconfig.json, also moved from ./ to ./src.

"outDir": "../dist",
eigenbeam commented 4 years ago

If it helps: I encountered this problem on our project using 3.8.3.

sheetalkamat commented 4 years ago

I forgot to mention that this issue is introduced by delayed child watcher updates (#35615) Meanwhile you can work around this by passing --synchronousWatchDirectory

jgonera commented 3 years ago

This is still happening for me on TypeScript 4.1.3. Is the fix included in that release?