To automatically re-run tests when files change, use the `--watch` flag: ```sh $ bun test --watch ``` Bun will watch for changes to any files imported in a test file, and re-run tests when a change is detected. It's fast. {% raw %}
{% /raw %}"bun test --watch url" in a large folder with multiple files that start with "url" pic.twitter.com/aZV9BP4eFu
— Jarred Sumner (@jarredsumner) March 29, 2023