Skip to content

Commit 21c29e8

Browse files
committed
fix: remove outdated warnings
1 parent 6957e98 commit 21c29e8

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/services/livesync/livesync-service.ts

-7
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { hook } from "../../common/helpers";
66
import { PACKAGE_JSON_FILE_NAME, LiveSyncTrackActionNames, USER_INTERACTION_NEEDED_EVENT_NAME, DEBUGGER_ATTACHED_EVENT_NAME, DEBUGGER_DETACHED_EVENT_NAME, TrackActionNames } from "../../constants";
77
import { DeviceTypes, DeviceDiscoveryEventNames, HmrConstants } from "../../common/constants";
88
import { cache } from "../../common/decorators";
9-
import * as constants from "../../constants";
109
import { PreviewAppLiveSyncEvents } from "./playground/preview-app-constants";
1110
import { performanceLog } from "../../common/decorators";
1211

@@ -149,12 +148,6 @@ export class LiveSyncService extends EventEmitter implements IDebugLiveSyncServi
149148
private handleWarnings(liveSyncData: ILiveSyncInfo, projectData: IProjectData) {
150149
if (liveSyncData.useHotModuleReload) {
151150
this.$logger.warn("Hot Module Replacement (HMR) is currently in Beta. For more information about the current development state and any known issues, please check the relevant GitHub issue: https://github.com/NativeScript/NativeScript/issues/6398");
152-
if (projectData.projectType === constants.NgFlavorName) {
153-
this.$logger.warn("To enable Hot Module Replacement (HMR) in Angular projects, follow the steps outlined in this wiki: https://github.com/NativeScript/nativescript-angular/wiki/HMR");
154-
}
155-
}
156-
if (liveSyncData.syncToPreviewApp && liveSyncData.bundle) {
157-
this.$logger.warn("Webpack support for the `tns preview` command is currently in Beta. Please, do not hesitate to report any problems that you experience with the feature by opening a new issue in the NativeScript CLI repository: https://github.com/NativeScript/nativescript-cli/issues/new/choose");
158151
}
159152
}
160153

0 commit comments

Comments
 (0)