App_Plugins javascript files do not updated on publish
I'm having an issue where my plugin javascript files do not get published for some reason. All the html files and CSS style gets updated in the plugin, but the javascript still uses an old one.
Things I've tried:
Changing javascript file name and updating it in manifest.
Deleting cache, opening in incognito mode
I would really appreciate it if someone could point out why it is not working.
One weird thing is that it works fine on my local server, but when I publish it to a different server (azurewebsites) the javascript does not want to update.
If you navigate directly to the JS file using it's full path (like: https://www.DOMAIN.com/App_Plugins/PluginFolder/FileName.js) are your updates there? The JS in the back office runs through the dependency handler and get's cached that way. You can try incrementing the clientDependency version in Config/ClientDependency.confg. That should trigger it to recompile the JS.
App_Plugins javascript files do not updated on publish
I'm having an issue where my plugin javascript files do not get published for some reason. All the html files and CSS style gets updated in the plugin, but the javascript still uses an old one.
Things I've tried: Changing javascript file name and updating it in manifest. Deleting cache, opening in incognito mode
I would really appreciate it if someone could point out why it is not working. One weird thing is that it works fine on my local server, but when I publish it to a different server (azurewebsites) the javascript does not want to update.
Hi,
How do you render js files? Can you show some code? What do you mean by publishing? Is it publish via VS or what?
Did you include files in the project or?
If you navigate directly to the JS file using it's full path (like: https://www.DOMAIN.com/App_Plugins/PluginFolder/FileName.js) are your updates there? The JS in the back office runs through the dependency handler and get's cached that way. You can try incrementing the clientDependency version in Config/ClientDependency.confg. That should trigger it to recompile the JS.
is working on a reply...