Skip to content

Commit e93c576

Browse files
author
Christian Guy
committed
Open console view when a build is triggered, to show build output.
1 parent e4b185c commit e93c576

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/MessageHandler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class MessageHandler {
9999
}
100100
if (showConsoleMsg) {
101101
if (this.consoleService) {
102-
this.consoleService.log(`${input}\n${detail}`);
102+
this.consoleService.success(`${input}\n${detail}`);
103103
}
104104
}
105105
}

lib/spl-build.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ export default {
195195
this.openUrlHandler = url => electron.shell.openExternal(url);
196196
this.splBuilder = new SplBuilder(this.messageHandler, this.lintHandler, this.openUrlHandler);
197197

198+
atom.workspace.open("atom://nuclide/console");
199+
198200
let fqn = "";
199201
if (namespaces && namespaces.length > 0) {
200202
fqn = `${namespaces[0]}::`;

0 commit comments

Comments
 (0)