NativeScript / ios-jsc

NativeScript for iOS using JavaScriptCore

Home Page:http://docs.nativescript.org/runtimes/ios

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Natalia-Hristova opened this issue · 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

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