🐛 Properly invalidate `serve` require cache when watching (#27377)
🐛 Properly invalidate `serve` require cache when watching (#27377)

- Using `const ... of` for simplicity
- Previous `require.cache[serverFile]` is unset, since the cache map uses absolute paths as keys.
mhc-gh/amphtml,zhouyx/amphtml,media-net/amphtml,yandex-pcode/amphtml,adup-tech/amphtml,smartadserver/amphtml,honeybadgerdontcare/amphtml,yandex-pcode/amphtml,alanorozco/amphtml,nexxtv/amphtml,lannka/amphtml,honeybadgerdontcare/amphtml,rsimha-amp/amphtml,lannka/amphtml,honeybadgerdontcare/amphtml,voyagegroup/amphtml,zhouyx/amphtml,sharethrough/amphtml,danielrozenberg/amphtml,prateekbh/amphtml,Gregable/amphtml,media-net/amphtml,sharethrough/amphtml,lannka/amphtml,zhouyx/amphtml,danielrozenberg/amphtml,danielrozenberg/amphtml,danielrozenberg/amphtml,media-net/amphtml,zhouyx/amphtml,taboola/amphtml,prateekbh/amphtml,jmadler/amphtml,ampproject/amphtml,ampproject/amphtml,yandex-pcode/amphtml,sharethrough/amphtml,voyagegroup/amphtml,honeybadgerdontcare/amphtml,alanorozco/amphtml,alanorozco/amphtml,taboola/amphtml,mhc-gh/amphtml,danielrozenberg/amphtml,media-net/amphtml,nexxtv/amphtml,smartadserver/amphtml,yandex-pcode/amphtml,jpettitt/amphtml,adup-tech/amphtml,jpettitt/amphtml,taboola/amphtml,sharethrough/amphtml,voyagegroup/amphtml,ampproject/amphtml,Gregable/amphtml,prateekbh/amphtml,rsimha-amp/amphtml,lannka/amphtml,mhc-gh/amphtml,zhouyx/amphtml,adup-tech/amphtml,media-net/amphtml,jridgewell/amphtml,taboola/amphtml,ampproject/amphtml,jpettitt/amphtml,voyagegroup/amphtml,zhouyx/amphtml,jridgewell/amphtml,nexxtv/amphtml,Gregable/amphtml,smartadserver/amphtml,alanorozco/amphtml,rsimha-amp/amphtml,yandex-pcode/amphtml,danielrozenberg/amphtml,ampproject/amphtml,jpettitt/amphtml,rsimha-amp/amphtml,honeybadgerdontcare/amphtml,jridgewell/amphtml,honeybadgerdontcare/amphtml,jmadler/amphtml,prateekbh/amphtml,alanorozco/amphtml,adup-tech/amphtml,adup-tech/amphtml,sharethrough/amphtml,jridgewell/amphtml,jridgewell/amphtml,honeybadgerdontcare/amphtml,jmadler/amphtml,rsimha-amp/amphtml,prateekbh/amphtml,Gregable/amphtml,yandex-pcode/amphtml,media-net/amphtml,nexxtv/amphtml,voyagegroup/amphtml,mhc-gh/amphtml,media-net/amphtml,prateekbh/amphtml,jmadler/amphtml,smartadserver/amphtml,alanorozco/amphtml,voyagegroup/amphtml,alanorozco/amphtml,sharethrough/amphtml,jmadler/amphtml,nexxtv/amphtml,danielrozenberg/amphtml,alanorozco/amphtml,nexxtv/amphtml,ampproject/amphtml,adup-tech/amphtml,rsimha-amp/amphtml,Gregable/amphtml,yandex-pcode/amphtml,jpettitt/amphtml,lannka/amphtml,taboola/amphtml,smartadserver/amphtml,taboola/amphtml,jridgewell/amphtml,rsimha-amp/amphtml,prateekbh/amphtml,lannka/amphtml,ampproject/amphtml,mhc-gh/amphtml,jmadler/amphtml,mhc-gh/amphtml,jpettitt/amphtml,media-net/amphtml,voyagegroup/amphtml,mhc-gh/amphtml,Gregable/amphtml,Gregable/amphtml,mhc-gh/amphtml,danielrozenberg/amphtml,nexxtv/amphtml,smartadserver/amphtml,jpettitt/amphtml,ampproject/amphtml,Gregable/amphtml,zhouyx/amphtml,taboola/amphtml,jpettitt/amphtml,lannka/amphtml,jridgewell/amphtml