Thanks for the suggestion, but have multiple projects and its easier to manage and I would guess good practise to keep the extension assets with the extension.
I don’t want to stop it deleting the files in the root assets folder, but it is deleting files from protected->extensions->myExtension->assets folder so when it tries to copy to the root assets folder there’s nothing there to copy.
But it doesn’t do it all the time either, it seems to be random
Ok, but its quite strange thing you are saying that randomly its delete assests folder.Thats why i am saying.Since if you are setting LinkAssets property of Assest manager then it should be simultaneously.But random quite strange.
Did you get something in your application log and server log.?