Files
vscode/build/lib/watch/index.ts
Benjamin Pasero 5bfd50175c Revert "chore: replace legacy watcher with @parcel/watcher for build file watching (#292803)" (#293152)
* Revert "ignore watch errors (#292873)"

This reverts commit 08f3997957.

* Revert "chore: replace legacy watcher with @parcel/watcher for build file watching (#292803)"

This reverts commit 82b251a409.
2026-02-05 16:49:17 +00:00

13 lines
664 B
TypeScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { createRequire } from 'node:module';
const require = createRequire(import.meta.url);
const watch = process.platform === 'win32' ? require('./watch-win32.ts').default : require('vscode-gulp-watch');
export default function (...args: any[]): ReturnType<typeof watch> {
return watch.apply(null, args);
}