"ionic serve"/cmd windows can't detect all errors

I have small issue when I save my work

“ionic serve”/cmd windows can’t detect all errors of the application.

Sometime there is no error in the cmd windows but when I want to build the apk, the process failed and it show me the lines of errors.

How can I lead ionic serve to detect all errors ?

You can try compiling with this command in your project folder to get more detailed errors:

node_modules\.bin\ngc.cmd