 
 gulp.task "weinre", ->
   [weinreHost, weinrePort] = GLOBALS.WEINRE_ADDRESS.split(":")
-
-  args = ["--httpPort=#{weinrePort}", "--boundHost=#{weinreHost}"]
+  weinreBoundHost = GLOBALS.WEINRE_BOUND_HOST
+
+  args = ["--httpPort=#{weinrePort}", "--boundHost=#{weinreBoundHost}"]
   child = child_process.spawn "node_modules/.bin/weinre", args,
     stdio: "inherit"
   # .on "exit", (code) ->

]


paths = 
  assets: ['assets/**', '!assets/**/*.ejs']
  assets_ejs: ['assets/**/*.ejs']
  styles: ['app/css/**/*.scss']
  scripts: 
    vendor: [
      "assets/components/ionic/release/js/ionic.js"
      "assets/components/angular/angular.js"

    ]
  templates: ['app/**/*.jade']

destinations =
  assets: "#{GLOBALS.BUILD_DIR}"
  styles: "#{GLOBALS.BUILD_DIR}/css"
  scripts: "#{GLOBALS.BUILD_DIR}/js"
