Skip to content

Commit 88ce651

Browse files
Merge pull request #1500 from NativeScript/vladimirov/fix-livesync-typescript
Fix livesync of TypeScript projects
2 parents b20299f + 79eb464 commit 88ce651

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

lib/common

lib/services/livesync/livesync-service.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,12 @@ class LiveSyncService implements ILiveSyncService {
5353
let platformData = this.$platformsData.getPlatformData(platformLowerCase);
5454
this.ensureAndroidFrameworkVersion(platformData).wait();
5555

56-
let liveSyncData = {
56+
let liveSyncData: ILiveSyncData = {
5757
platform: platform,
5858
appIdentifier: this.$projectData.projectId,
5959
projectFilesPath: path.join(platformData.appDestinationDirectoryPath, constants.APP_FOLDER_NAME),
6060
syncWorkingDirectory: path.join(this.$projectData.projectDir, constants.APP_FOLDER_NAME),
61+
excludedProjectDirsAndFiles: ["**/*.js.map", "**/*.ts"]
6162
};
6263
this.$liveSyncServiceBase.sync(liveSyncData).wait();
6364
}).future<void>()();

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "nativescript",
33
"preferGlobal": true,
4-
"version": "1.6.0",
4+
"version": "1.6.1",
55
"author": "Telerik <[email protected]>",
66
"description": "Command-line interface for building NativeScript projects",
77
"bin": {

0 commit comments

Comments
 (0)