Closed brandonjpierce closed 1 month ago
We currently run something similar to the following in each workspace package for the test command:
test
pnpm run vitest --run --dir src
The explicit --run flag prevents the --watch flag from working as it explicitly disables watch. The fix:
--run
--watch
Update all packages/* to use the following for their test script command:
packages/*
pnpm run vitest --dir=src
This way you can isolate to a package and enable watch mode for tests e.g.:
pnpm --filter=@accelint/math run test --watch
We currently run something similar to the following in each workspace package for the
test
command:The explicit
--run
flag prevents the--watch
flag from working as it explicitly disables watch. The fix:Update all
packages/*
to use the following for theirtest
script command:This way you can isolate to a package and enable watch mode for tests e.g.: