You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
danielbachhuber
changed the title
Consider setting projectPath based on .git directory if one exists
Consider setting projectPath based on .git directory if one exists
Jun 1, 2023
while i like the pattern to search for a .git directory this does not scale well we need a
wp-now.config.json inside the project directory or alternative for vscode inside the .vscode project folder.
The most standard scenario is the one where we even need more then a single wp-now deployment to migrate data and settings and maybe even work with a directory that has many wp installations.
If I run
wp-now start
anywhere from a git clone, I may want it to reuse the same WordPress instance.We could consider looking upwards for a
.git
directory, and use that as theprojectPath
if it exists.From #39 (comment)
Related #26
The text was updated successfully, but these errors were encountered: