Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #47
.ts
extension for Vite constants JavaScriptrequire
cli()
call tocivet
binary via build script, instead ofcli.civet
trying to detect whether we're the main module across both ESM and CJSparseArgs
parseArgs
(though I imagine there could be more)Outstanding issue
I'm getting a weird "race condition" when testing multiple instances of
--civet
argument parsing, which calls Hera'sparse
. Somehow the subsequent calls continue where the previous ones left off, instead of resettingpos
to 0. I don't understand how this is happening, and I can't reproduce this in the CLI (civet --civet tab=4 --civet autoLet
works fine). It doesn't seem to beasync
related (I tried switching everything to sync and got the same error). It seems to be something specific to Mocha or ESM mode...