mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 08:08:39 +01:00
* Revert "ignore watch errors (#292873)" This reverts commit08f3997957. * Revert "chore: replace legacy watcher with @parcel/watcher for build file watching (#292803)" This reverts commit82b251a409.
13 lines
664 B
TypeScript
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);
|
|
}
|