-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
elm-test-rs --watch sometimes gives a _Debug_crash #130
Comments
This happened a couple of times in a row for me with |
Spooky indeed, and it seems that's related to the one place we used a regex
to patch the generated code. I trusted Harry on this, since I'm no good
with regexes and it seemed to work ^^.
If you happen to know regexes well, maybe don't hesitate to have a look at
the one in this repo. (The error message should help finding where that is).
I may have time to have a look at it next weekend.
…On Sat, Oct 7, 2023, 18:05 Simon Lydell ***@***.***> wrote:
This happened a couple of times in a row for me with elm-test --watch
(note: not elm-test-rs), but then the next day I couldn’t reproduce it and
haven’t been able to since. Spooky.
—
Reply to this email directly, view it on GitHub
<#130 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWFOCJZ2IRXZZB27UENI7TX6F4V5AVCNFSM6AAAAAA5W7M76CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJRG42DMNBZHE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
The regex looks fine. I suspect that I was lucky enough to see a crash while running with I've compiled a version that adds a Of course, now I'm not getting crashes! I'll keep working on my project with the altered logging and -vvv and keep my fingers crossed for more information. |
When I save a file after a change, I fairly frequently get a crash message from
elm-test-rs --watch
instead of test output. The workaround is just to save again —elm-test-rs
recovers and runs the tests as expected.I may well have done something wonky in my setup — I'm pretty new to Elm, and very new to elm-test-rs, Lamdera, and Elm Land, which I'm trying to use together.
Here's an example crash message:
The text was updated successfully, but these errors were encountered: