Don't call the TypeScript compiler more than once