nativescript-vscode-extension
nativescript-vscode-extension copied to clipboard
When file watch is active saving shuts down emulator
Recently when in watch mode my emulator shuts down completely every time i make a change in watch mode. On the device the app no longer launches on change. Also previously when I clicked stop, the emulator would stay open. It no longer does which is inconvenient.
when starting the extension outputs [NativeScriptCli] execute: tns --analyticsClient VSCode --version Version: 0.8.0 Build version: v.2018.7.27.1 Commit id: 4bdd611a33edf98347d588a3e2713f561a2ed876 NativeScript CLI: 4.1.2
Then debug 3:15:00 PM - Compilation complete. Watching for file changes. Skipping prepare. Successfully transferred login.component.js.
after that the emulator stops, the device does not re-launch the application. I am on macOS High Sierra 10.13.6
this behavior happens with ios and android.
Attempts to fix: updated the global tns ran tns doctor, no issues
here is my package.json "nativescript": { "id": "com.virtuescript.www", "tns-android": { "version": "4.1.3" }, "tns-ios": { "version": "4.1.0" } }, "dependencies": { "@angular/animations": "~6.0.0", "@angular/common": "~6.0.0", "@angular/compiler": "~6.0.0", "@angular/core": "~6.0.0", "@angular/forms": "~6.0.0", "@angular/http": "~6.0.0", "@angular/platform-browser": "~6.0.0", "@angular/platform-browser-dynamic": "~6.0.0", "@angular/router": "~6.0.0", "nativescript-angular": "~6.0.0", "nativescript-calendar": "^2.0.0", "nativescript-theme-core": "~1.0.4", "nativescript-unit-test-runner": "^0.3.4", "reflect-metadata": "~0.1.8", "rxjs": "~6.0.0 || >=6.1.0", "tns-core-modules": "^4.1.1", "zone.js": "^0.8.26" }, "devDependencies": { "babel-traverse": "6.26.0", "babel-types": "6.26.0", "babylon": "6.18.0", "jasmine-core": "^3.1.0", "karma": "^2.0.4", "karma-jasmine": "^1.1.2", "karma-nativescript-launcher": "^0.4.0", "lazy": "1.0.11", "nativescript-dev-typescript": "~0.7.0", "tns-platform-declarations": "^4.1.0", "typescript": "~2.7.2" }