Skip to content
This repository has been archived by the owner on Mar 14, 2022. It is now read-only.

Commit

Permalink
Fixes test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Elias committed Jul 6, 2015
1 parent daf8087 commit f04c296
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/tasks/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,16 @@ module.exports.runServer = function(gulp, config) {
reject(err);
return;
}

if (server) {
resolve(server);
return;
}

config = config || {};

log.primary('Open http://localhost:'+port+'/demos/local/ in a browser to view the demos');

server = gulp.src('.')
.pipe(webserver({
directoryListing: true,
Expand Down

0 comments on commit f04c296

Please sign in to comment.