Fixed some errors that dev version of tsc complains about.
Create TS compiler before waiting for changes so that first compilation is faster.