
var browserSync = require("./index");
var connect = require("connect");
//var sass = require("gulp-ruby-sass");
var _    = require("lodash");
var http = require("http");
var serveStatic  = require("serve-static");

console.time("init");

var files = ["test/fixtures/assets/*"];
var fs = require("fs");

var options = {
    server: {
        baseDir: ["./test/fixtures"],
        routes: {
            "/debug": "/usr/local/lib/node_modules/weinre/web"
        }
    },
//    proxy: "swoon.static/store-home.php",
    files: "test/fixtures/*.html",
////    tunnel: true,
//    codeSync: false,
//    port: 8080,
//    online: false,
    open: false
//    logFileChanges: false
//    https: true,
//    tunnel: true,
//    logConnections: true,
//    notify: true,
//    browser: ["Safari"]
};
//
//var clientScript = require("/Users/shakyshane/Sites/browser-sync-modules/browser-sync-client/index");
//clientScript.name = "client:script";
//var cp = require("/Users/shakyshane/Sites/browser-sync-modules/browser-sync-cp/index");
//
//browserSync.use({
//    plugin: function () {
//
//    }
//}, {name: "shane is awesome"});
//
//
//
//console.log(cp);
//
//var validUrls = [];
//
var instance = browserSync(options, function (err, bs) {

});
