To clarify a bit more, this is update cycle I am following
Scenario 1 - new script
1a. TS file version v1
1b. Packaged in sol v1
1c. Deployed and control hooked to view, all good.
Scenario 2 - updated script
2a. TS file version updated to v2
2b. npm run build -> msbuild :/restore -> msbuild
2c. solution deployed - no update seen in the control
Scenario 3 - recreated solution
3a. TS file version updated to v2
3b. npm run build -> delete solution folder-> setup blank manifest -> msbuild :/restore -> msbuild
3c. solution deployed - update still not seen in the control
Scenario 4 - deleted control
4a. deleted control in the CRM
Repeated step 3a to 3c
Then finally update seen in the control
How and from where does the custom control resolve the JS and TS at runtime? This insight will help us alleviate any caching problems, etc.
Cheers