-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto versioning based on detected changes #37
Comments
When running in non-debug mode you'll have to modify the version number. Due to the way CDF works and requiring support for load balanced environments, it's quite difficult to 'detect' changes. The only real way would be to store the cdf version in a txt file (not in an asp.net config file so the app doesn't restart) and then allow for some startup config to allow a developer to specify a file watch pattern and auto change the version when file changes are detected. Its certainly possible, just haven't had the time to really look in to this. |
On a related versioning note: What is the difference between the version attribute in the web.config and ClientDependency.config? It seems the web.config one is used, but correct me if I'm wrong it use to use the version in ClientDependency.config? |
Hi @mccallsolutions , I think you have an installation bug happening. If you are using Umbraco which I'm assuming you are because you have
which points the config to the external config file. |
Brilliant - thanks! |
related #175 |
The wiki page on versioning mentions Auto versioning based on detected changes
https://github.com/Shandem/ClientDependency/wiki/Versioning
"Coming soon..." last updated April 2013 - Any update on this?
We are using a CMS (Umbraco) and our users will edit the CSS and JS on the live site quite extensively. Currently you can only invalidate the cache by changing versioning number, is this correct?
The text was updated successfully, but these errors were encountered: