diff --git a/packages/compiler/scripts/watch-tmlanguage.js b/packages/compiler/scripts/watch-tmlanguage.js index 0f3a6a09e04..e39150941d4 100644 --- a/packages/compiler/scripts/watch-tmlanguage.js +++ b/packages/compiler/scripts/watch-tmlanguage.js @@ -1,5 +1,6 @@ import { runWatch } from "@cadl-lang/internal-build-utils"; -import { copyFile } from "fs"; +import { copyFile } from "fs/promises"; +import mkdirp from "mkdirp"; import { resolve } from "path"; import { pathToFileURL } from "url";