mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
723 B
723 B
To automatically re-run tests when files change, use the --watch flag:
$ 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 %}
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>"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
{% /raw %}