-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Added prompt, if the directory already exists #9362
Added prompt, if the directory already exists #9362
Conversation
- If the directory already exists, it wasn't applying the new directory name everywhere
Originally I wrote this code for reference. Doesn’t need to be in the final code.
@Tobbe I implemented the changes you requested. Would you mind taking another look? |
This is how it works now: First I try with a directory that already exists and get prompted for a new path. And just to demonstrate that the And the reason it works there is that it's the shell that does the tilde expansion, and not Node. |
Co-authored-by: Tobbe Lundberg <tobbe@tlundberg.com>
Co-authored-by: Tobbe Lundberg <tobbe@tlundberg.com>
Notion ID: CTL-292
Feature description
Before
With Create Redwood App, if the user specified a directory that already existed, the app would quit.
After
Now, if the directory already exists, then the user is presented with an additional prompt:
Screenshot:
This was the original PR: #8854