Very often, when I hit Publish in VS13, I get the site to compile but when uploading I get the error saying that a file is busy.
Updating fil
You actually configure it in the publishing profile (.pubxml). Just add the element to the PropertyGroup like this:
true ...
More in this MSDN document