MCPcopy Create free account
hub / github.com/TanStack/cli / add

Method add

packages/cli/src/dev-watch.ts:56–68  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

54 }
55
56 add(path: string): void {
57 this.changes.add(path)
58
59 if (this.timer) {
60 clearTimeout(this.timer)
61 }
62
63 this.timer = setTimeout(() => {
64 const currentChanges = new Set(this.changes)
65 this.callback(currentChanges)
66 this.changes.clear()
67 }, this.delay)
68 }
69
70 size(): number {
71 return this.changes.size

Callers 15

selectToolchainFunction · 0.80
selectDeploymentFunction · 0.80
handleChangeMethod · 0.80
promptForCreateOptionsFunction · 0.80
promptForAddOnsFunction · 0.80
getStarterIdsFromUrlFunction · 0.80
resolveStarterSpecifierFunction · 0.80
selectAddOnsFunction · 0.80
cliFunction · 0.80
installShadcnComponentsFunction · 0.80
writeEnvExampleFunction · 0.80

Calls 1

clearMethod · 0.65

Tested by 1

collectStaticImportGraphFunction · 0.64