Skip to content

bevacqua/grunt-verify-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Verifies an application listens on a port when spawned

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages