playground-tools
playground-tools copied to clipboard
wp-now: change the directory displayed in console for playground mode
When running wp-now start on Playground mode, we reference the current directory, but actually, all the files loaded live in the home directory ~/.wp-now/wp-content/plagyround
Example:
> wp-now start
Starting the server......
directory: /Users/user/some-path
mode: playground
php: 8.0
wp: latest
Downloading WordPress latest...
Downloading SQLite...
Server running at http://localhost:8881
I suggest removing the directory or outputting the actual wp-content folder.
We can also consider outputting the wp-content folder in all the cases so the user knows where their files live.