Hey, I couldn't manage to make the "Update Dev-Environment" button to actually change my react app's index.html
And while it doesn't change any of the code it still return a success message:
I am running on linux wordpress container, and this folder is actually mounted from my wsl host.
UPDATE:
it seems like there is a write permission problem:
2023-02-12 14:36:34 [Sun Feb 12 12:36:34.040032 2023] [php:warn] [pid 36] [client 192.168.112.1:33144] PHP Warning: file_put_contents(/var/www/html/wp-content/reactpress/apps/frontend-new/public/index.html): Failed to open stream: Permission denied in /var/www/html/wp-content/plugins/reactpress/admin/Controller.php on line 259, referer: http://localhost/wp-admin/admin.php?page=reactpress
after adding permissions everything worked well, but there is no good indication for that in the gui
Hey, I couldn't manage to make the "Update Dev-Environment" button to actually change my react app's index.html![image](https://user-images.githubusercontent.com/5647956/218311372-ccf8fd1b-1f55-4ab1-a6c1-5962391d8e6f.png)
And while it doesn't change any of the code it still return a success message:![image](https://user-images.githubusercontent.com/5647956/218311450-a983c6fb-847e-462c-90ee-d616fbbfdc83.png)
I am running on linux wordpress container, and this folder is actually mounted from my wsl host. UPDATE: it seems like there is a write permission problem:
after adding permissions everything worked well, but there is no good indication for that in the gui