# Exception after renaming file and folder \[SOLVED\]

**URL:** <https://forum.ionicframework.com/t/exception-after-renaming-file-and-folder-solved/60445>\
**Category:** ionic-v3\
**Created:** [August 13, 2016, 8:06am UTC](https://forum.ionicframework.com/t/exception-after-renaming-file-and-folder-solved/60445 "2016-08-13T08:06:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![deanwilliammills](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@deanwilliammills](https://forum.ionicframework.com/u/deanwilliammills)\
**Post date:** [August 13, 2016, 8:06am UTC](https://forum.ionicframework.com/t/exception-after-renaming-file-and-folder-solved/60445/1 "2016-08-13T08:06:30Z")

</div>

After I renamed a file and folder under the app folder, I get a ‘not found’ exception.  
I found that in the app.bundle.js under the build folder the path still looks at the old path.  
If I rename it to the new path then it work, **BUT** everytime it builds then the new path gets overridden again with the old path.

The correct code:

`core_1.Component({ templateUrl: 'build/pages/ **foodList/foodList**.html' })`

gets renamed when I build to

`core_1.Component({ templateUrl: 'build/pages/ **list/list**.html' })`

Any ideas / solutions will be much appreciated thanks

---

<div class="post-metadata">

**Author:** ![Leandro93](https://avatars.discourse-cdn.com/v4/letter/l/f17d59/32.png) [@Leandro93](https://forum.ionicframework.com/u/Leandro93)\
**Post date:** [February 7, 2017, 8:49pm UTC](https://forum.ionicframework.com/t/exception-after-renaming-file-and-folder-solved/60445/2 "2017-02-07T20:49:04Z")

</div>

Hi, how did you solved?
