Skip to content
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

fix: add CLI devscript flag #82

Merged
merged 1 commit into from
Oct 24, 2023
Merged

fix: add CLI devscript flag #82

merged 1 commit into from
Oct 24, 2023

Conversation

luwes
Copy link
Collaborator

@luwes luwes commented Oct 24, 2023

closes #78

@luwes luwes self-assigned this Oct 24, 2023
await createTSFile(path.join(process.cwd(), 'video.d.ts'));
changes.push([log.add, `Created video.d.ts.`]);
}
if (ts) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved this out of the if (!ts) {} scope which was a bug if using the flag I think

Copy link
Contributor

@mmcc mmcc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, but do we want to include any kind of messaging around "You might want to add the watch command blah blah"?

@luwes
Copy link
Collaborator Author

luwes commented Oct 24, 2023

@mmcc do you mean if the user chooses "no" or even before the question give more information on what it does?

@luwes luwes merged commit 073ca6b into muxinc:main Oct 24, 2023
@luwes luwes deleted the cli-dev-script branch October 24, 2023 23:42
@mmcc
Copy link
Contributor

mmcc commented Oct 24, 2023

No I meant just as an instructional bit at the end. If the user said no, should we let them know at the end that it's a step they might want to add?

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.

Add watch command to dev script from CLI prompt
2 participants