を見るなり

as soon as [someone] saw

→ を
phrase Rare #35,599
as soon as [someone] saw Follows a verb in its dictionary form and indicates that something happened immediately after the action.
JA: 彼女は犬を見るなり、笑顔になった。
EN: As soon as she saw the dog, she smiled.

彼の姿を見るなり私は恐怖で震えた。

The moment I saw him, I trembled with fear.

その女の子は母親を見るなり泣き出した。

The girl burst into tears the moment she saw her mother.

女の子は母親を見るなりわっと泣き出した。

The little girl burst into tears the moment she saw her mother.

私を見るなり、笑い始めたのよ。

As soon as they saw me, they started laughing.

わたしの顔を見るなり“けっこんしてくれ”だって

The moment he saw me, he said, “Marry me.”

— 紅の豚 (1992)