My Gruntfile:
...
connect: {
server: {
options: {
port: 8000,
hostname: 'localhost',
base: '.'
}
}
}
...
Then, when I run grunt connect
, I see this:
❯ grunt connect
Running "connect:server" (connect) task
Started connect web server on http://localhost:8000
Done, without errors.
❯
Then that's it. If I got to my localhost:8000. I see chrome can't connect.