Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Parse deploy is not updating code in my public folder. Is there a setting for caching?

I am making changes and added new files to the public/ directory inside my Node.js app hosted with Parse Cloud Code. However, Parse doesn't seem to be tracking these changes when I do a 'parse deploy'. If I make changes to the main Node.js app, Parse tracks those changes..

Unfortunately, the public/ files are not listed inside the "Files" tab of the "Cloud Code" tab inside my dashboard, so I can't see whether they're being updated.

But if I try something like curl http://my-app.parseapp.com/js/file.js I see the older version. And if I do curl http://my-app.parseapp.com/js/newFile.js I don't see the new file I added.

like image 896
Zack Burt Avatar asked Mar 07 '14 04:03

Zack Burt


1 Answers

I had the same issue when building my express app and hosting it on Parse.com. My solve although it was quite annoying was to temporarily move the public folder out of the repo, run parse deploy then add the public folder back in and run parse deploy once more.

like image 75
mcclaskiem Avatar answered Nov 09 '22 10:11

mcclaskiem