Revised typescript.autocompile