NativeScript / nativescript-dev-typescript

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

Do not treat exit code 3 as success #38

Closed Mitko-Kerezov closed 6 years ago

Mitko-Kerezov commented 6 years ago

According to the new enum tsc only emits files if it exits with 0 or 2

One case where tsc exits with exit code 3 is JavaScript heap out of memory in which case the code should fail rather than succeed.

Ping @rosen-vladimirov @sis0k0