()
| 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); |
nothing calls this directly
no test coverage detected