Fix the connect task

Currently the `connect` task is broken. I know BrowserSync is in the works, but until then this should be fixed.

Credits to @MMrko, based on #161.