Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Feature: Module Usage #7

Closed
devpaul opened this Issue · 0 comments

1 participant

@devpaul
Owner

As a user I would like to be able to treat devserver as a plain old module and require it into projects.

Sample usage would be akin to:

var devserver = require('grunt-devserver')
  , options = { type: "http", port: 8000 }
  , serverStarted = devserver(options)
  , httpServer

serverStarted.then(function(server) { httpServer = server })
@devpaul devpaul was assigned
@devpaul devpaul closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.