The first line is what ensures that your html files and what not actually gets deployed to the war.
Second line does not remove the deployed folder unlesss you a *full publish* (might need a "Clean" too?)
It does not get "fixed" on incremental publishes since by its nature all information about the folder is gone and we don't
check if the destination has some "extra" folders - that would be extremely time consuming.