Skip to content

Commit c062131

Browse files
committed
small fixes
1 parent 755d3bd commit c062131

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

apps/nxls/src/main.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ const fileWatcherCallback: DaemonWatcherCallback = async (
8989
);
9090
};
9191
const fileWatcherOperationalCallback = (isOperational: boolean) => {
92-
lspLogger.log(`File watcher is operational: ${isOperational}`);
9392
connection.sendNotification(NxWatcherOperationalNotification.method, {
9493
isOperational,
9594
});

apps/vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@
224224
},
225225
{
226226
"command": "nxConsole.restartDaemonWatcher",
227-
"when": "view == nxProjects && (viewItem == daemonDisabled || viewItem == daemonWatcherNotRunning)",
227+
"when": "view == nxProjects && viewItem == daemonWatcherNotRunning",
228228
"group": "inline@1"
229229
}
230230
],

libs/vscode/nx-project-view/src/lib/nx-tree-item.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ export class NxTreeItem extends TreeItem {
4141
path: '1',
4242
});
4343
this.tooltip =
44-
'Nx Daemon is disabled. Nx Console will not receive file changes. Click to learn more.';
44+
'Nx Daemon is disabled. Nx Console will not receive file changes.';
4545
} else if (item.contextValue === 'daemonWatcherNotRunning') {
4646
this.resourceUri = Uri.from({
4747
scheme: NX_DAEMON_WARNING_DECORATION_SCHEME,
4848
path: '2',
4949
});
5050
this.tooltip =
51-
'Nx Daemon watcher is not running. Nx Console will not receive file changes. Click to learn more.';
51+
'Nx Daemon watcher is not running. Nx Console will not receive file changes. You can restart the watcher by clicking the refresh icon.';
5252
}
5353

5454
this.setIcons(item.iconPath);

0 commit comments

Comments
 (0)