mirror of
https://github.com/microsoft/vscode.git
synced 2026-06-02 21:55:33 +01:00
Reimplement node.js watcher and add tests (#140073)
* files - use `fs.promises.rename` for `rimraf` to skip `graceful-fs` We do not really want the move operation to hang for a long time when the folder is locked on Windows. * watcher - rewrite non-recursive watcher and add tests * fixes * fix tests
This commit is contained in:
@@ -14,7 +14,7 @@ import { randomPort } from 'vs/base/common/ports';
|
||||
import { isString } from 'vs/base/common/types';
|
||||
import { whenDeleted, writeFileSync } from 'vs/base/node/pfs';
|
||||
import { findFreePort } from 'vs/base/node/ports';
|
||||
import { watchFileContents } from 'vs/base/node/watcher';
|
||||
import { watchFileContents } from 'vs/platform/files/node/watcher/nodejs/nodejsWatcher';
|
||||
import { NativeParsedArgs } from 'vs/platform/environment/common/argv';
|
||||
import { buildHelpMessage, buildVersionMessage, OPTIONS } from 'vs/platform/environment/node/argv';
|
||||
import { addArg, parseCLIProcessArgv } from 'vs/platform/environment/node/argvHelper';
|
||||
|
||||
Reference in New Issue
Block a user