Skip to content

Commit ca9114b

Browse files
author
benholloway
committed
oops, port is off by one
1 parent a8bb566 commit ca9114b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function create(options) {
3030
// legacy support
3131
// where angularity.json is present it should define the port
3232
var angularityJsonPath = path.resolve('angularity.json'),
33-
angularityPort = fs.existsSync(angularityJsonPath) && (require(angularityJsonPath).port + 1) || undefined;
33+
angularityPort = fs.existsSync(angularityJsonPath) && require(angularityJsonPath).port || undefined;
3434

3535
// options set
3636
var args = Array.prototype.slice.call(arguments),

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webpack-angularity-solution",
3-
"version": "0.13.0",
3+
"version": "0.13.1",
44
"description": "Requisite configuration and modules to build Angularity projects with Webpack",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)