mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
Print 'Compiling' when compiling TS.
This commit is contained in:
parent
d38ccfc6dc
commit
b1d9014b5b
1 changed files with 2 additions and 5 deletions
|
@ -418,14 +418,11 @@ export class DenoCompiler
|
|||
*/
|
||||
compile(moduleMetaData: ModuleMetaData): OutputCode {
|
||||
const recompile = !!this.recompile;
|
||||
this._log("compiler.compile", {
|
||||
filename: moduleMetaData.fileName,
|
||||
recompile
|
||||
});
|
||||
if (!recompile && moduleMetaData.outputCode) {
|
||||
return moduleMetaData.outputCode;
|
||||
}
|
||||
const { fileName, sourceCode } = moduleMetaData;
|
||||
const { fileName, sourceCode, moduleId } = moduleMetaData;
|
||||
console.warn("Compiling", moduleId);
|
||||
const service = this._service;
|
||||
const output = service.getEmitOutput(fileName);
|
||||
|
||||
|
|
Loading…
Reference in a new issue