-
Hi. It would be nice to reload my sandwich TUI when either my tests or code change. Does anyone have a good solution for this? I tried: $ find *.hs | entr -r bash -c 'cabal v2-run test -- --tui'
Up to date
Some formatters failed: '[getTerminalAttributes: illegal operation (Inappropriate ioctl for device)]'
1 runs succeeded out of 1 repeats It works with normal entr if I manually exit out of the tui after editing the files. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hmm, I notice that
Could you explain how you got that to work? I've daydreamed about making a Sandwich reloader that runs a GHCi subprocess like how |
Beta Was this translation helpful? Give feedback.
BTW, I should mention another solution that came up on #98:
#98 (comment)
I think this will be the "answer" for now, since the amount of engineering effort to do this without something like
watchexec
is still prohibitive.