jsoverson / grunt-open

Open urls and files from a grunt task
MIT License
110 stars 19 forks source link

Specify the ability to open more than one page #25

Closed chrisjlee closed 10 years ago

chrisjlee commented 10 years ago

If i need to open more than one page the grunt open task doesn't allow for the ability to using the following syntax:

open: {
   url1: {
      server: {
        url: 'http://localhost:<%= express.options.port %>/index.html'
      }
  },

   url2: {
      server: {
        url: 'http://localhost:<%= express.options.port %>/index2.html'
      }
    }
}

Or am i missing something? What is the way to do so?

jsoverson commented 10 years ago
open: {
   url1: {
      path: 'http://localhost:<%= express.options.port %>/index.html'
  },
   url2: {
      path: 'http://localhost:<%= express.options.port %>/index2.html'
    }
}

unless i'm missing something. See configuration in the readme.