You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, cache buster is enabled on non development runs of NodeBB. This cache buster string is generated by running git describe --tags on the system. However, on some systems (Mac OS X), this command errors out with a fatal: No names found, cannot describe anything..
If this happens, we proceed without a cache buster, but we should fallback instead.
If git describe --tags fails for whatever reason (for example, I believe @akhoury's environment does not use git?), we should fall back to a different method of cache buster generation.
My suggestion is to have ./nodebb upgradetouchpackage.json. Therefore, we can read its' last modified date, and use that timestamp as a cache buster.
The text was updated successfully, but these errors were encountered:
Currently, cache buster is enabled on non development runs of NodeBB. This cache buster string is generated by running
git describe --tags
on the system. However, on some systems (Mac OS X), this command errors out with afatal: No names found, cannot describe anything.
.If this happens, we proceed without a cache buster, but we should fallback instead.
If
git describe --tags
fails for whatever reason (for example, I believe @akhoury's environment does not use git?), we should fall back to a different method of cache buster generation.My suggestion is to have
./nodebb upgrade
touch
package.json
. Therefore, we can read its' last modified date, and use that timestamp as a cache buster.The text was updated successfully, but these errors were encountered: