Whenever I create a server action or update a server action on my Node Project, I have this error in the output.
Which I have already reported as an FTP bug.
If I go to my cPanels File Manager I can see my new server action placed inside /app/api/ folder, however if I click the Test in Browser button I get
and if I try to use a binding from the action on my page I also get an error
I have 2 options, I can either wait about an hour or more and suddenly for some unknown reason it will become available like magic or I can go to cPanel and in the cPanel terminal app enter
cd app/tmp
touch restart.txt
Which then makes the action file work instantly.
What I do find odd about this is if I save a normal index.html file i am working with in Wappler it shows the alterations right away even though no restart.txt
file has been sent, if I do a full publish in Wappler, sometimes the restart is sent, and even then without any output error, the action file is still not available and i have to do the terminal touch
command.