grunt-open for two different files
<p>grunt-open for two different files</p>

<p>I use the <a href="https://github.com/jsoverson/grunt-open" rel="nofollow">grunt-open</a> plugin which works OK.
Now I need to open an additional file with a <b>different task</b>.
How can I do that?</p>

<p>I have tried:</p>

<pre><code>  open: {
        file: {
            path: appPath + '/coverage/lcov/index.html',
            path2: appPath + '/coverage/lcov-report/index2.html'
        }
    }


 //Here I want to open first line
 grunt.registerTask('openCoverage', ['exec', 'copy', 'mocha_istanbul', 'open:path']);
 //Here I want to map second line
grunt.registerTask('MochaWeb', ['exec', 'copy', 'mochaTest', 'open:path2']);
</code></pre>