gruntjs / grunt-contrib-connect

Start a static web server.
http://gruntjs.com/
MIT License
716 stars 148 forks source link

Keepalive dies #218

Open joallard opened 8 years ago

joallard commented 8 years ago

In Gruntfile:

        connect: {
            keepalive: true
        },
$ grunt connect:keepalive
Running "connect:keepalive" (connect) task
Started connect web server on http://localhost:8000
# <1s, no input
Done, without errors.
boynet commented 7 years ago

just figure it out - for example this config:

        connect: {
            server: {
                keepalive:true,
                options: {
                    port: 9001,
                    base: 'app/www',
                }
            },
            keepalive:true,
        }

you need to run this command: grunt connect:server:keepalive

joallard commented 7 years ago

Ah ok, thank you, though that's a little counter-intuitive.