-
Notifications
You must be signed in to change notification settings - Fork 69
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
@oclif/core 2.x ts-node is not register in local #1223
Labels
wontfix
This will not be worked on
Comments
@kerm1it being that v2 is 2 majors behind there's not much I can do to resolve the issue. But I do have a couple of suggestions
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I used version 1.x before, and now I have updated to version 2.x (we also need to support node 16, so we can't update to the latest version)
In version 1.x, I can directly modify
src/commands/a.ts
to take effect directly, but in 2.x, I need to execute build first before it can take effectAfter investigation, I found that:
In version 1.x, the file in
src/commands
is automatically read in the local development environmentIn version 2.x, the file in
lib/commands
is readI use yarn link locally to link the command to the global environment, hoping that the files under
src
can be automatically read when developing locally.The text was updated successfully, but these errors were encountered: