I've node app which use grunt to generate code coverage report this report is located under and I was able to run it manually
myAPP
-coverage
-index.html
I want that when the task of coverage will finish and the report is generated to run this index.html in the browser,how should I do that? I found this
https://www.npmjs.com/package/grunt-run
but its not working
I try many ways
grunt.initConfig({
run: {
commands: {
exec: '/coverage/lcov-report/index.html',
}
}
});
or
grunt.initConfig({
run: {
path: '/coverage/lcov-report/index.html',
}
});
Maybe I'm not using it well I just want to run existing html file from my project with some grunt task