NativeScript / nativescript-dev-typescript

TypeScript support for NativeScript projects
Apache License 2.0
21 stars 10 forks source link

Fix many 'file change detected' messages #55

Closed Fatme closed 6 years ago

Fatme commented 6 years ago

Fixes https://github.com/NativeScript/nativescript-cli/issues/3687

When tns run android command is executed, a typescript watcher is started. When project is prepared {N} CLI moves all files in platforms directory. This triggers a typescript watcher to print File change detected. Starting incremental compilation... message many times. This PR hides all messages from typescript compiler except errors. So the user will see only typescript errors. Actually when the command is executed with --log trace option, all messages from typescript compiler will be printed.

PR Checklist

What is the current behavior?

Many File change detected. Starting incremental compilation... messages are printed when tns run android command is executed.

What is the new behavior?

Only error messages from typescript compiler are printed.