add log function, watch all files in bundle
watch all files in bundle