Skip to content

Commit

Permalink
Merge pull request #13 from marcosteybe/master
Browse files Browse the repository at this point in the history
add support for opening Google Chrome under windows
  • Loading branch information
garris committed Dec 17, 2014
2 parents 471107c + 755778d commit f14b780
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ var compareReportURL = 'http://localhost:3001/compare/';

var activeCaptureConfigPath = '';

var isWin = /^win/.test(process.platform);



if(!fs.existsSync(backstopConfigFileName)){
Expand Down Expand Up @@ -240,7 +242,7 @@ gulp.task("openReport", function(){

var options = {
url: compareReportURL
,app: "Google Chrome"
,app: isWin ? "chrome" : "Google Chrome"
};

gulp.src(compareConfigFileName)
Expand Down

0 comments on commit f14b780

Please sign in to comment.