Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/build/lib/watch/index.ts
4772 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
import { createRequire } from 'node:module';
6
7
const require = createRequire(import.meta.url);
8
const watch = process.platform === 'win32' ? require('./watch-win32.ts').default : require('vscode-gulp-watch');
9
10
export default function (...args: any[]): ReturnType<typeof watch> {
11
return watch.apply(null, args);
12
}
13
14