Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
npm-debug.log
tmp
.idea
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ Default value `0`

Whether to use HTTPS

#### options.force
Type: `Boolean`
Default value `true`

Kill other running instances of BrowserStack Local.

### Usage Examples

#### Custom Options
Expand Down
6 changes: 4 additions & 2 deletions tasks/browserstack_tunnel.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ module.exports = function(grunt) {
accessKey: '',
hostname: 'localhost',
port: 3000,
sslFlag: 0
sslFlag: 0,
force: true
});

var BrowserStackTunnel = require('browserstacktunnel-wrapper');
Expand All @@ -15,7 +16,8 @@ module.exports = function(grunt) {
name: options.hostname,
port: options.port,
sslFlag: options.sslFlag
}]
}],
force: options.force
});

var done = this.async();
Expand Down