Skip to content

v0.6.2

Compare
Choose a tag to compare
@PaperStrike PaperStrike released this 27 Oct 16:00
· 8 commits to main since this release
bc343db

Improvements

Enhanced watch mode (#17)

Previously, wrightplay utilized the esbuild stdin and relied on the watch API to monitor file changes. However, this approach presented issues, such as errors when test files were deleted and a lack of support for tracking the creation of new test files.

With this update, it starts to use a custom file watcher that not only resolves the problem of errors upon test file deletion but also extends its capabilities to encompass the creation, modification, and deletion of most test files and imported files. This enhancement ensures a more robust and seamless development experience, helping you effortlessly keep track of file changes while working on your projects.

Less pollution (#21)

In the past, wrightplay occupied the /stdin.js path to inject test files. With this update, we have changed it to /__wrightplay__/stdin.js, significantly reducing the likelihood of collisions.

Fixes

  • Wrightplay will now throw and exit if no test file is found in non-watch mode. (#19)
  • Corrected source-mapped stack traces for entry points that are not direct children of the current working directory. (#21)
  • Discarded errors caused by auto-rerun navigations in watch mode. (#21)
  • Added support for specifying a setup path without using a ./ prefix. (#22)

Details

Full Changelog: v0.6.0...v0.6.2