Are there an event I can fire when Umbraco save a CSS, JS or a Template?
My problem is that my customer sometime is changing CSS on his website in Umbraco and when he ask me to make some more changes to them I make the changes in my local files for later to push them to github.
Well. the problem is then that his changes is overwritten if he forget to tell me that he has made changes.
Event when CSS, JS or Template is saved
Are there an event I can fire when Umbraco save a CSS, JS or a Template?
My problem is that my customer sometime is changing CSS on his website in Umbraco and when he ask me to make some more changes to them I make the changes in my local files for later to push them to github.
Well. the problem is then that his changes is overwritten if he forget to tell me that he has made changes.
Hi Niels
Thats a great idea for dealing with curious and adventurous clients :)
There is a bunch of events in FileService you can listen for, ie. SavedScript, SavedStylesheet etc.
thanks :) I will look at that
Now I feel I have control on his site again :D
I found out to do like this
is working on a reply...