Changes to my code are not displayed when building the project. WebPack Doesn't seem to be compiling new React changes.

When building code, I am not seeing my changes.  I've changed a simple Text Header on a page and ran the code and it does not change.
I've cleared my cache, restarted, tried a clean build and am at a loss as to what cold be causing this.

We have tested and this is only happening on React JSX pages.  It doesn't look like Webpack is compiling the changes but rather old code.
Crystal RouseTask LeadAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Miguel OzSoftware EngineerCommented:
Have a look at your project compilerconfig.json file and make sure the associated output file has been updated with your changes. then check that your code is currently using the output file. Your new code may not be using the new output file.
If more help needed please specify VS/Webpack version and post your configuration files, removing sensitive pwd/file paths.
0
Crystal RouseTask LeadAuthor Commented:
We don't have a compilerconfig.json file.  We have tried repairing VS, re-installing it, re-installing Web pack and Node.  
I appreciate your help.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Miguel OzSoftware EngineerCommented:
If more help needed please specify VS/Webpack version and post your configuration files, removing sensitive pwd/file paths.You have not given any of this info.
Any asp.net mvc project has it please read it below:
https://github.com/madskristensen/WebCompiler
Quoting link "The extension adds a compilerconfig.json file at the root of the project which is used to configure all compilation.", this could be your issue
0
Crystal RouseTask LeadAuthor Commented:
We were able to correct the problem by running:

run webpack --config webpack.config.js
0
Crystal RouseTask LeadAuthor Commented:
I resolved this issue.  I determined that I will have to run the command in powershell.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
React

From novice to tech pro — start learning today.