| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
test cli-smoke cli-preview cli-device |
Sorry, something went wrong.
|
test cli-smoke cli-preview cli-device |
Sorry, something went wrong.
| if (_.isBoolean(data.watchNative)) { | ||
| this.watchNative = data.watchNative; | ||
| } | ||
| this.watch = data.watch; |
There was a problem hiding this comment.
Duplicated line?
Sorry, something went wrong.
There was a problem hiding this comment.
Good catch. :)
Sorry, something went wrong.
| } | ||
|
|
||
| private async startNativeWatcherWithPrepare(platformData: IPlatformData, projectData: IProjectData, prepareData: IPrepareData): Promise<boolean> { | ||
| let newWatchStarted = false; |
There was a problem hiding this comment.
newWatchStarted -> newNativeWatchStarted
Sorry, something went wrong.
|
test cli-smoke cli-preview cli-device |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Checklist
What is the current behavior?
When the user scans the preview barcode with both device platforms, the second one modifies the package.json to set the runtime version, which triggers a native change event. This causes an error as preview controller doesn't understand and shouldn't understand of native changes.
What is the new behavior?
Disable the native changes watch when running tns preview.
Fixes/Implements/Closes #4893