Exception after renaming file and folder [SOLVED]

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

Hi, how did you solved?