MCPcopy Create free account
hub / github.com/cfworker/cfworker / update

Method update

packages/dev/src/cli/run-command.js:63–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62 if (this.args.watch) {
63 const update = () =>
64 this.host.setWorkerCode(
65 this.bundler.code,
66 '/worker.js',
67 [],
68 this.site ? this.site.manifest : null,
69 this.kv.namespaces
70 );
71 this.bundler.on('bundle-end', update);
72 if (this.site) {
73 this.site.on('change', update);

Callers

nothing calls this directly

Calls 1

setWorkerCodeMethod · 0.80

Tested by

no test coverage detected