Grammar
N3AI-drafted〜うちに(変化)
while doing X, (a change happens unnoticed)
Formation
V-ている + うちに/い形容詞(〜い)・な形容詞(〜な)・Nの + うちに
Usage
This usage describes a change that occurs gradually and without the speaker intending or noticing it while another action or state continues. The main clause typically ends with 〜てきた、〜ようになった、〜てしまった or a spontaneous verb. Do not use it for a deliberate, planned result — that is 〜間に. Compare 〜ないうちに (before something happens).
Examples
音楽を聞いているうちに、眠ってしまった。
おんがくを きいているうちに、ねむってしまった。
While listening to music, I fell asleep without realising it.
日本に住んでいるうちに、納豆が好きになりました。
にほんに すんでいるうちに、なっとうが すきに なりました。
While living in Japan, I came to like natto.
話しているうちに、気持ちが楽になってきた。
はなしているうちに、きもちが らくに なってきた。
As we talked, I gradually started to feel better.