grunt-verify-app

0.1.2 • Public • Published

grunt-verify-app

Verifies an application listens on a port when spawned

npm install --save-dev grunt-verify-app

Configuration

Here are the defaults

verify_app: {
    server: {
        options: {
            script: 'app',
            port: 3000,
            timeout: 10000, // how long before giving up
            frequency: 1000 // how often to check the port
        }
    }
}

Run it!

grunt verify_app:server

In action

verification.png

If the verification times out, the task is considered a failure.

License

MIT

/grunt-verify-app/

    Package Sidebar

    Install

    npm i grunt-verify-app

    Weekly Downloads

    4

    Version

    0.1.2

    License

    none

    Last publish

    Collaborators

    • bevacqua