jsoverson/grunt-open — pull request #16 by quarterto (2014-01-06 13:53:30+00:00)
Title: Allow dynamic destinations

Lets you specify a destination as a function, e.g.

```javascript
grunt.initConfig({
open: {
url: function (env) {
return 'http://localhost:'+envs[env].port;
}
}
});

var envs = {local: {port: 8080}, test: {port: 8081}};

grunt.task.run('open:local');
```