Use the --watch flag to run your tests in watch mode.
bun test --watch
Watch mode restarts the running Bun process whenever a file changes. It's fast. In this example, the editor saves the file on every keystroke.
See bun test.
Runtime docs · Guides · Test Runner
Use the --watch flag to run your tests in watch mode.
bun test --watch
Watch mode restarts the running Bun process whenever a file changes. It's fast. In this example, the editor saves the file on every keystroke.
See bun test.