This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * implements a dependency-aware file watcher that calls `Bun.build` whenever a | |
| * file change occurs | |
| * | |
| * - It uses an experimental API, `import.meta.resolve` with two arguments. | |
| * - It uses these Bun APIs: | |
| * - `Bun.build` | |
| * - `Bun.file` | |
| * - `Bun.Transpiler` | |
| * - `Bun.resolveSync` |