Wappler Version : 3.4
Operating System : mac / remote node
Expected behavior
When saving a server connect file, the trigger to restart the server (upload of restart.txt) is performed AFTER the server connect file is uploaded completely.
Actual behavior
The restart.txt is sent before the new file is ready
How to reproduce
Create a new Server Connect file within a node project.
The following output is produced:
Start upload for app/api/security/test.json
Uploading restart.txt to restart the NodeJS server ...
cd ok, cwd=/home/dev-01/domains/nodeworld1.uniqueideas.com/nodeapp
16 bytes transferred
Uploaded /app/api/security/test.json successfully
Open the server connect file in a browser:
{"status":"404","message":"/api/security/test not found."}
Restart the node server (I use PM2 restart )
The file runs properly.
Community Page
Last updated:
Last updated: