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.
[ ] There is an issue for the bug/feature this PR is for. To avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it.
[ ] All existing tests are passing
[ ] Tests for the changes are included
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.
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 printFile 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 whentns run android
command is executed.What is the new behavior?
Only error messages from typescript compiler are printed.