compile before deploy