preview command build assets in tmp file