Skip to content

Conversation

@bjornstar
Copy link
Collaborator

- Manually wrangle node args so that we can handle `--` args coming before `-` args (Fixes fgnass#236)
@bjornstar bjornstar merged commit 6b90170 into fgnass:master Oct 15, 2020
@bjornstar bjornstar deleted the fix-arg-parsing branch October 15, 2020 06:24
@jraoult
Copy link

jraoult commented Oct 15, 2020

Sorry I'm a little late to the game, but if you have two required modules:

node-dev -r dotenv-safe/config -r ts-node/register/transpile-only

Then it fails with

Error: Cannot find module 'dotenv-safe/config,ts-node/register/transpile-only'

I suspect it is a consequence of this "wrangling"

@bjornstar
Copy link
Collaborator Author

Thanks for the feedback, it should be fixed in v6.2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using -r esm broke with 6.0 release

2 participants