pre commit compile hook working