Skip to content

Too many TypeScript "Watching for file changes" messages in console during build #4135

Closed
@lini

Description

@lini

Steps to reproduce:

tns create --ng spam
cd spam/
tns run android

Expected output - normal build log

Actual output - 2 pages of typescript watcher messages making it hard to inspect the log:

Skipping prepare.
Building project...
Gradle build...
         + setting applicationId
         + applying user-defined configuration from C:\Users\stratev\Documents\apps\spam\App_Resources\Android\app.gradle
Using support library version 28.0.0
         + adding nativescript runtime package dependency: nativescript-optimized-with-inspector
         + adding aar plugin dependency: C:\Users\stratev\Documents\apps\spam\node_modules\tns-core-modules-widgets\platforms\android\widgets-release.aar

14:30:00 - Found 0 errors. Watching for file changes.

14:30:01 - Found 0 errors. Watching for file changes.

[..... Repeated 14 more times .....]

14:30:25 - Found 0 errors. Watching for file changes.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

14:30:26 - Found 0 errors. Watching for file changes.

14:30:31 - Found 0 errors. Watching for file changes.

14:30:40 - Found 0 errors. Watching for file changes.

14:30:51 - Found 0 errors. Watching for file changes.

14:30:55 - Found 0 errors. Watching for file changes.

14:30:57 - File change detected. Starting incremental compilation...


14:30:57 - Found 0 errors. Watching for file changes.

[..... Repeated 16 more times .....]

Project successfully built.

Package.json contents:

{
  "nativescript": {
    "id": "org.nativescript.spam",
    "tns-android": {
      "version": "5.0.0"
    },
    "tns-ios": {
      "version": "5.0.0"
    }
  },
  "description": "NativeScript Application",
  "license": "SEE LICENSE IN <your-license-filename>",
  "repository": "<fill-your-repository-here>",
  "dependencies": {
    "@angular/animations": "~7.0.0",
    "@angular/common": "~7.0.0",
    "@angular/compiler": "~7.0.0",
    "@angular/core": "~7.0.0",
    "@angular/forms": "~7.0.0",
    "@angular/http": "~7.0.0",
    "@angular/platform-browser": "~7.0.0",
    "@angular/platform-browser-dynamic": "~7.0.0",
    "@angular/router": "~7.0.0",
    "nativescript-angular": "~7.0.0",
    "nativescript-theme-core": "~1.0.4",
    "reflect-metadata": "~0.1.8",
    "rxjs": "~6.3.0",
    "tns-core-modules": "~5.0.2",
    "zone.js": "^0.8.26"
  },
  "devDependencies": {
    "@nativescript/schematics": "~0.4.0",
    "nativescript-dev-typescript": "~0.7.0",
    "nativescript-dev-webpack": "~0.18.0",
    "typescript": "^3.1.6",
    "@angular/compiler-cli": "~7.0.0",
    "@ngtools/webpack": "~7.0.0"
  },
  "readme": "NativeScript Application"
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions