ios-jsc icon indicating copy to clipboard operation
ios-jsc copied to clipboard

Inspector: Changed file is not updated in Inspector Resources when running debug --hmr

Open Natalia-Hristova opened this issue 5 years ago • 1 comments

Environment

  • CLI: 5.3.0-2019-03-13-13021
  • Cross-platform modules: 5.2.2
  • iOS Runtime: v5.3.0-2019-03-13-122936-01

Describe the bug Change in a file is not applied in Inspector Resources tab when running debug with --hmr NOTE: In Chrome DevTool Sources tab the changed file is updated

To Reproduce

  1. tns create TestApp --ts
  2. tns debug ios --hmr --inspector
  3. Change .ts file and save it
  4. In Resources tab check if the change is applied in the file

Expected behavior Changed file to be updated in Inspector Resources tab

Sample project

Additional context

Natalia-Hristova avatar Mar 14 '19 16:03 Natalia-Hristova

Still valid (for js projects as well) but in the latest versions of CLI --hmr option is the default one so no need to pass it

Natalia-Hristova avatar Oct 23 '19 11:10 Natalia-Hristova