gruntjs / grunt-contrib-watch

Run tasks whenever watched files change.
http://gruntjs.com/
MIT License
1.98k stars 356 forks source link

livereload server seems not to be spawned #532

Closed memee closed 7 years ago

memee commented 7 years ago

OS: Linux Node: v6.9.1

$ grunt -v
grunt-cli v1.2.0
grunt v1.0.1

I have following watch options:

watch: {
    options: {
        livereload: true
    },
    js: {
        files: ['src/**/*.js', 'examples/*.html'],
        tasks: ['concat']
    }
}

I run grunt watch -v

All is green I only get warning:

Waiting...(node:19434) DeprecationWarning: process.EventEmitter is deprecated. Use require('events') instead.

then I try to open http://localhost:35729/

message I get: This site can’t be reached

When I run: lsof -iTCP:35729 in console I get nothing.

memee commented 7 years ago

Terribly sorry - old grunt-contrib-watch