-
Notifications
You must be signed in to change notification settings - Fork 330
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
Update docs when building a new command #5835
Comments
Good call. Let's add this clarity 👍 |
Just to clarify: you mean the command was there but CLI wouldn't load its help? Since we're writing in TypeScript, you need to build to transpile the code to JavaScript, so the need to build is obvious. But I suspect there's more to your observation so would like to clarify it before we proceed with defining a suitable a solution. |
While developing I usually use |
Understood. I suggest that we revisit the watch command and see if there's a different way to orchestrate it so that you get everything you get from build + watch. It doesn't make sense for watch to be incomplete. #5608 is not the only culprit. We had the same issue for a long time, previously linked to Power Platform app templates. Now they're gone, the reason has changed, but the problem remains. |
Can I work on it? |
All yours @SmitaNachan! |
Today I was building a new command and noticed that CLI didn't recognize my new command locally. I quickly thought of something we adjusted a few weeks ago. Currently, we discover new commands only while running a new build. While we know this, this might not be that obvious for new contributors. Therefore I suggest we add to our docs an admonition that says people should run
npm run build
one time when they are working on a new command.The text was updated successfully, but these errors were encountered: