We’re having some problem getting frontend code to sync with our production instance of LiveWhale Calendar. Here’s a description of the issue form our frontend developer:
In order to help with a server overload issue we switched from using internal import statememts for our client-js files to a single file with the path /live/resource/js/....rev. in the head document. Upon trying to update this file there is no change to the live site and the console from Inspect Elememt is saying the file is a 404. We’ve tried renaming the document and changing the file path name, the ?refresh=1 attempt to update the cache, and deleting and reuploading the file, but nothing has produced results and the site continues to load the old unmodified file.
Without be able to go hands-on with the files (which we can do via Personalized Email Support or the Request Help Form), I can just speak in the abstract a bit. If I’m not mistaken, there are two ways to get JS onto your front-end calendar.
If you put the .js file in /_ingredients/themes/global/scripts/ or /_ingredients/themes/global/scripts-defer, LiveWhale will automatically detect it and add it to the page source using the /live/resource/js caching etc.
Or, if your file is outside of the scripts/ theme folder, I believe just using a normal <script src="/_ingredients/path/to/my/file.js"></script>, LiveWhale will detect and bring it into the cache layer, auto-adding the /live/resource/js/ prefix and .rev.####.js suffixes. In my tests on a separate install, that seems to work.