import and adopt purple-plugin-pack. fix watchfile