Moralis-admin-cli watch-cloud-file not working / syncing

Using the new format to sync cloud functions from local to server v0.0.247:

moralis-admin-cli watch-cloud-file --moralisApiKey --moralisApiSecret --moralisSubdomain xxx.usemoralis.com --autoSave 1 -p cloud.js

But the server cloud file does not seem to update. Doing it manually at the moment.

Hey @matiyin

I’ve tested and it works without any problems.

moralis-admin-cli watch-cloud-file --moralisApiKey xxxx --moralisApiSecret xxxxxx --moralisSubdomain xxxxxx.moralisweb3.com --autoSave 1 --moralisCloudfile

Then it will ask you to specify path:

E:\FRONTEND\Forum Support\Cloud\cloudfile.js

Let me know how it will work for you :man_mechanic:

1 Like

new syntax works :sweat_smile:

2 Likes