added watch build for require. Added lite build option if no optimization is required