NativeScript / ios-jsc

NativeScript for iOS using JavaScriptCore
http://docs.nativescript.org/runtimes/ios
Apache License 2.0
298 stars 59 forks source link

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

Open Natalia-Hristova opened 5 years ago

Natalia-Hristova commented 5 years ago

Environment

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 commented 4 years ago

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