MCPcopy
hub / github.com/epicweb-dev/react-performance / run

Function run

epicshop/fix-watch.js:47–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45let running = false
46
47async function run() {
48 if (running) {
49 console.log('still running...')
50 return
51 }
52 running = true
53 try {
54 await $({
55 stdio: 'inherit',
56 cwd: workshopRoot,
57 })`node ./epicshop/fix.js`
58 } catch (error) {
59 throw error
60 } finally {
61 running = false
62 }
63}
64
65console.log(`watching ${watchPath}`)
66

Callers 1

fix-watch.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected