Provided further, That no such order shall be made, in case of the decease of such party, until notice shall have been given to his or her heirs and legal representatives, by process duly served, if resident within the commonwealth, or, if not, by publication and copy mailed to the last known address of the same, according as the court shall order and direct.
21 P.S. § 55