MCPcopy Index your code
hub / github.com/darkreader/darkreader / getRelevantWatchFiles

Function getRelevantWatchFiles

tasks/bundle-js.js:190–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

188 let currentWatchFiles;
189
190 const getRelevantWatchFiles = () => {
191 const watchFiles = new Set();
192 jsEntries.forEach((entry) => {
193 entry.watchFiles?.forEach((file) => watchFiles.add(file));
194 });
195 return Array.from(watchFiles);
196 };
197
198 /** @type {(options: Partial<TaskOptions> & {platforms: TaskOptions['platforms']}, entries?: JSEntry[]) => Promise<void>} */
199 const bundleEachPlatform = async ({platforms, debug, watch, log, test}, entries) => {

Callers 2

onChangeFunction · 0.85
createBundleJSTaskFunction · 0.85

Calls 1

addMethod · 0.80

Tested by

no test coverage detected