gimm / gulp-express

gulp plugin for express
56 stars 26 forks source link

HTTPS Support #29

Closed matpimenta closed 9 years ago

matpimenta commented 9 years ago

Currently, there's no way to start tiny-lr in HTTPS. When I run express in HTTPS, livereload doesn't work as browsers block requests to protocols different from HTTPS.

gimm commented 9 years ago

new version is out there, thanks.

matpimenta commented 9 years ago

I think my pull request introduced a bug. The 'fileName' is now in the wrong case.

    reload: function (fileName) {
        if (lr != undefined) {
            lr.changed({
                body: {
                    files: [filename]
                }
            });
        } else {
            console.log('tinylr not started');
            node && node.kill();
        }
    }