shovon / grunt-harp

A grunt task for the Harp server.
MIT License
18 stars 17 forks source link

Adding support for Harp multihost #8

Open ssalenger opened 10 years ago

ssalenger commented 10 years ago

I'd love to see support for Harp multihost. It's a simple addition:

Add multihost: false to the default variables, and then, after if (options.server):

} else if (options.multihost) {
  harp.multihost(source, { port: options.port }, function () {
    console.log('Harp serving multiple sites on port %d', options.port)
  });
ssalenger commented 9 years ago

@shovon I've actually made these changes on a branch, but don't have permission to push. I'm happy to help move this along in any way that's helpful. Thanks!