I might be missing something obvious, but I am having difficulty to get the updated PCF code taking effects. Basically the modification to the code is not been run, Dynamics stuck with an older version. Here is what I have done:
1. Change code in index.ts
2. "npm start" runs fine with new code,
3. run "npm run build"
4. Increase version number in solution.xml (in the hope of forcing reload)
5. run msbuild in solution folder. (My solution is packed as "managed")
6. import solution in Dyanmics
7. During import, choose "overwrite customizations"
8. open the form that used the PCF, make a fake change, and publish again (in the hope of forcing reload).
9. clear Chrome cache.
After loading the page, open Chrome developer tools, under pcf_tools_{guid}, the index.ts still display the old version of the code. The change did not take effects either in the app.
I was able to get new code in previously (might have been using unmanaged solution), but somehow Dynamics just get stuck with the old code now.
Any ideas?