copy all raw assets to deploy/publish directory
format code use unified style
move pid to new tmp dir