Skip to content

Commit

Permalink
fix: welcome logs
Browse files Browse the repository at this point in the history
  • Loading branch information
scopsy committed Jun 26, 2024
1 parent 0e4c0e3 commit 2ae8951
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions packages/cli/src/commands/dev.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { DevServer } from '../dev-server';
import { NtfrTunnel } from '@novu/ntfr-client';
import { showWelcomeScreen } from './init.consts';

process.on('SIGINT', function () {
console.log('Caught interrupt signal');
Expand All @@ -16,6 +17,8 @@ export type DevCommandOptions = {
};

export async function devCommand(options: DevCommandOptions) {
showWelcomeScreen();

const parsedOptions = parseOptions(options);

const tunnelOrigin = await generateTunnel(parsedOptions.origin);
Expand Down
1 change: 0 additions & 1 deletion packages/cli/src/commands/init.consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,5 @@ export function showWelcomeScreen() {
console.log(chalk.bold(items.join('\n')));
console.log(chalk.bold(` Welcome to NOVU!`));
console.log(chalk.bold(textGradient(` The open-source notification infrastructure\n`)));
console.log(chalk.bold(`Now let's setup your account and send your first notification`));
/* eslint-enable no-console */
}
1 change: 0 additions & 1 deletion packages/cli/src/dev-server/http-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export class DevServer {
});

this.server.listen(port, SERVER_HOST, () => {
console.log('Dev server ✅: Started on port', port);
console.log('Studio ✅: Available on', `http://${SERVER_HOST}:${port}${STUDIO_PATH}`);
});
}
Expand Down

0 comments on commit 2ae8951

Please sign in to comment.