As far as I know Assetic never deletes files. This is true for directories, but also for files.
I believe the reason is that Assetic has no history, that is, Assetic only knows about the current set of assets and not what assets where managed by Assetic in the past. The developers of Assetic probably made the call to not delete any assets since it would be worse to delete assets that should not be deleted than to not delete assets that should be deleted.
If you manage all your assets using Assetic (or use assets:install
) you can manually delete the css
and js
folder when you delete or rename assets in the Assetic configuration and afterwards run assetic:dump
and/or assets:install
.