Galooshi / happo

Visual diffing in CI for user interfaces
504 stars 16 forks source link

Error with multiple targets #202

Open mojoaxel opened 7 years ago

mojoaxel commented 7 years ago

Hi guys!

I'm playing around with happo ("happo": "^5.0.0-rc.3", "happo-target-firefox": "^5.0.0-rc.4") on ubuntu linux.

I tried to define multiple targets for multiple tests:

targets: [
    new FirefoxTarget({
    name: 'test_1',
    sourceFiles: [
        'test_1.js'
    ],
    stylesheets: [
        'test_1.css'
    ]
    ...
    ),
    new FirefoxTarget(
    name: 'test_2',
    sourceFiles: [
        'test_2.js'
    ],
    stylesheets: [
        'test_2.css'
    ]
    ...
    ),
],

Node throws an Error: listen EADDRINUSE 0.0.0.0:4567 if I do a happo run without defining a specific target.