Skip to content

Commit 99a7b47

Browse files
author
Valur Hrafn Einarsson
committed
changes to node-notifier implementation
1 parent 74c757a commit 99a7b47

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ var express = require('express'),
33
http = require('http'),
44
less = require('less'),
55
colors = require('colors'),
6-
logo = require('./config/logo.js'),
7-
notification = require('node-notifier');
6+
logo = require('./config/logo.js');
87

98
colors.setTheme({
109
info: 'green',
@@ -43,7 +42,7 @@ server.listen(settings.port, function(){
4342
logo.long();
4443
console.log(" Express server is listening on "+" port %d ".highlight.info + " in " + " %s mode ".highlight.data, settings.port, env);
4544
if (env == 'development') {
46-
var notifier = new notification();
45+
notifier = new notifier();
4746
notifier.notify({
4847
title: pkg.name,
4948
subtitle: 'v' + pkg.version,

0 commit comments

Comments
 (0)