mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 20:29:11 +00:00
Add flag --recompile (#801)
This commit is contained in:
parent
17a7b03d1b
commit
3fe4be07ca
6 changed files with 33 additions and 4 deletions
|
@ -37,7 +37,7 @@ export default function denoMain() {
|
|||
libdeno.setGlobalErrorHandler(onGlobalError);
|
||||
const compiler = DenoCompiler.instance();
|
||||
|
||||
// First we send an empty "Start" message to let the privlaged side know we
|
||||
// First we send an empty "Start" message to let the privileged side know we
|
||||
// are ready. The response should be a "StartRes" message containing the CLI
|
||||
// args and other info.
|
||||
const startResMsg = sendStart();
|
||||
|
@ -68,5 +68,6 @@ export default function denoMain() {
|
|||
os.exit(0);
|
||||
}
|
||||
|
||||
compiler.recompile = startResMsg.recompileFlag();
|
||||
compiler.run(inputFn, `${cwd}/`);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue