I need to make a simple edit in my built Angular project. I've found the line in the main.bundle.js file and changed it. However, it's not being reflected. Do I need to rebuild?
Asked
Active
Viewed 381 times
0
-
Your build files get destroyed and rebuilt every time you do a build. It is better to fix your source files so your change is reflected every build. – LLai Nov 22 '17 at 14:59
-
Do you NEED to though? Nothing I change in the main.bundle.js is being shown when I run the app. – franchyze923 Nov 22 '17 at 15:01
-
You can change the bundle files. What is probably happening is the browser is cacheing the file. Try a hard refresh – LLai Nov 22 '17 at 15:03
-
ahh that was it. Thanks! – franchyze923 Nov 22 '17 at 15:04
1 Answers
0
The answer is yes you can edit built files. Thanks to @LLai for helping. The changes weren't being reflected because I needed to clear my browsers cache.

franchyze923
- 1,060
- 2
- 12
- 38