wordup-dev / wordup-cli

Wordup is a fully integrated development platform for WordPress. Develop plugins and themes locally. Preview in the cloud. Automatic updates in WP.
GNU General Public License v3.0
118 stars 16 forks source link

Non-Existent WordUp Projects Still Appearing #15

Open davidshq opened 4 years ago

davidshq commented 4 years ago

I'm wondering how WordUp is detecting whether containers are running or not? I've deleted several times containers / .wordup folders now trying to get everything configured correctly and noticed in VSCode when usin the WordUp extension that sometimes multiple projects would appear, even though I knew none (or only one) of them actually existed. Sometimes clicking the refresh button or exiting and reopening VSC would remedy this issue - but sometimes they just stick around.

I just tested in the CLI and it appears this is because the WordUp CLI is also still seeing these containers. It even indicates one of them is listening on localhost:8000...doing wordup stop --delete doesn't help, I get "Error: Could not find a running wordup project" but if I do another wordup list it still shows multiple projects as existing.

davidshq commented 4 years ago

I found the config file for the wordup projects and manually deleted the entries. For anyone else looking for the same (on Windows) it is at: Users\username\AppData\Local\wordup-cli\config.json

shry commented 4 years ago

The wordup list command shows all created projects, even if they are deleted from filesystem. See also https://github.com/wordup-dev/wordup-cli/issues/9#issuecomment-517951690 But i think i should change this, because it seems confusing for the user.