Open
Description
When I use the --skip-wordpress-setup
argument with the Playground CLI (on trunk
) it modifies the mounted WordPress directory by overriding WordPress files.
Steps to recreate
- Download WordPress and extract it to
/MY-PATH/
- Modify one WordPress file
- Start Playground by mounting this directory
npx @wp-playground/cli@latest
server \
--skip-wordpress-setup \
--mount-before-install=/MY-PATH:/wordpress
- See that the WordPress file modification has been removed
Expected behavior
When WordPress is mounted before install in combination with --skip-wordpress-setup
the mounted directory shouldn't be modified by Playgorund during boot.
Research
Commenting out these two lines resolves the issue.