Skip to content

Commit 8a34661

Browse files
authored
Merge pull request #10 from NativeScript/amiorkov/remove-sync-all-files
fix: remove use of '--syncAllFiles' param
2 parents f020a96 + daabf64 commit 8a34661

File tree

3 files changed

+13
-14
lines changed

3 files changed

+13
-14
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ This dev plugin allows a __NativeScript plugin authors__ to use a **predefined w
88
Note
99
> - This NS dev plugin has been developed on Mac and has not been tested on Windows.
1010
> - Using the plugin's scripts will open both Android Studio and XCode so be aware that those applications will open during the executing of the scripts.
11-
> - This plugin uses the `--syncAllFiles` to ensure that all of your NS plugin source code changes are transferred when changes are detected.
1211
1312
## Installation
1413

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-dev-debugging",
3-
"version": "1.0.1",
3+
"version": "2.0.0",
44
"description": "This dev plugin allows an NativeScript plugin authors to use a predefined workflow with which you can develop and debug both the native iOS/Android and the TypeScript/JavaScript wrapper source code of their NS plugin. The main API that this plugin exposes is through `npm scripts` which will be saved to your package.json of your plugin's source code.",
55
"main": "index.js",
66
"dependencies": {

src/scripts/predefined-scripts.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -243,38 +243,38 @@ function getPluginPreDefinedScripts(srcPath, demoFolder, demoAngularFolder, demo
243243
},
244244
{
245245
key: "nd.demo.tns.run.android",
246-
value: "cd " + demoFolder + " && tns run android --syncAllFiles",
247-
description: "Runs the 'demo' app on Android with '--syncAllFiles' argument",
246+
value: "cd " + demoFolder + " && tns run android",
247+
description: "Runs the 'demo' app on Android",
248248
category: "secondary"
249249
},
250250
{
251251
key: "nd.demo.tns.run.ios",
252-
value: "cd " + demoFolder + " && tns run ios --syncAllFiles" + provisioningParam,
253-
description: "Runs the 'demo' app on iOS with '--syncAllFiles' argument",
252+
value: "cd " + demoFolder + " && tns run ios" + provisioningParam,
253+
description: "Runs the 'demo' app on iOS",
254254
category: "secondary"
255255
},
256256
{
257257
key: "nd.demo.angular.tns.run.android",
258-
value: "cd " + demoAngularFolder + " && tns run android --syncAllFiles",
259-
description: "Runs the 'demo-angular' app on Android with '--syncAllFiles' argument",
258+
value: "cd " + demoAngularFolder + " && tns run android",
259+
description: "Runs the 'demo-angular' app on Android",
260260
category: "secondary"
261261
},
262262
{
263263
key: "nd.demo.angular.tns.run.ios",
264-
value: "cd " + demoAngularFolder + " && tns run ios --syncAllFiles" + provisioningParam,
265-
description: "Runs the 'demo-angular' app on iOS with '--syncAllFiles' argument",
264+
value: "cd " + demoAngularFolder + " && tns run ios" + provisioningParam,
265+
description: "Runs the 'demo-angular' app on iOS",
266266
category: "secondary"
267267
},
268268
{
269269
key: "nd.demo.vue.tns.run.android",
270-
value: "cd " + demoVueFolder + " && tns run android --bundle --syncAllFiles",
271-
description: "Runs the 'demo-vue' app on Android with '--syncAllFiles' argument",
270+
value: "cd " + demoVueFolder + " && tns run android",
271+
description: "Runs the 'demo-vue' app on Android",
272272
category: "secondary"
273273
},
274274
{
275275
key: "nd.demo.vue.tns.run.ios",
276-
value: "cd " + demoVueFolder + " && tns run ios --bundle --syncAllFiles" + provisioningParam,
277-
description: "Runs the 'demo-vue' app on iOS with '--syncAllFiles' argument",
276+
value: "cd " + demoVueFolder + " && tns run ios" + provisioningParam,
277+
description: "Runs the 'demo-vue' app on iOS",
278278
category: "secondary"
279279
},
280280
{

0 commit comments

Comments
 (0)