You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would be very cool, but I think it's not in the cards without some major architectural changes. Currently the TUI is built as part of your tests, so a change in your tests necessitates rebuilding the TUI.
To make this happen properly, I imagine we would need the TUI to run as a separate process, not dependent on the test files, and for it to know how to build/rebuild your tests, and for it to communicate with the actual test process to show/control the test tree. These would be some major changes.
However, I think it might be interesting to try getting the workflow you want with a tool like watchexec.
I was curious and I actually got it to work like this:
# In the sandwich repo
watchexec --wrap-process=none --exts hs -r stack run demo-basic -- --tui
No description provided.
The text was updated successfully, but these errors were encountered: