added event mid build to allow modification to www folder pre_package