Deploying parsing does not update the code in my public folder. Is there a setting for caching?

I make changes and add new files to the public / directory inside my Node.js application hosted with Parse Cloud Code. However, Parse does not seem to be tracking these changes when I do a โ€œparsing parsingโ€. If I make changes to the main Node.js application, Parse tracks these changes.

Unfortunately, the publication / files are not listed on the Files tab of the Cloud Code tab inside my dashboard, so I donโ€™t see if it is being updated.

But if I try something like curl http://my-app.parseapp.com/js/file.js , I see an older version. And if I do curl http://my-app.parseapp.com/js/newFile.js , I do not see the new file that I added.

+6
source share
2 answers

I had the same problem when creating my express app and posting it on Parse.com. My solution, although it was rather annoying to temporarily move the shared folder from the repo, run parse deploy , then add the shared folder and run parse deploy again.

+4
source

Deleting / renaming folders did not work for me, nor was there parse deploy or parse develop .

My problem appeared only after creating a function or job with - in the name, for example schedule-notification . After removing hyphens and re-awakening, it seems to have started working.

0
source

All Articles