Skip to content

Commit e069a88

Browse files
Brian Stonestonebk
Brian Stone
authored andcommitted
build: allow changing the dev server port with the PORT env variable
1 parent 2c9c72b commit e069a88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

styleguide.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ const { createStyleguideConfig } = require('create-react-styleguide');
33

44
let config = createStyleguideConfig({
55
usageMode: 'expand',
6+
serverPort: +process.env.PORT || 6060,
67
sections: [{
78
name: 'Releases ↗',
89
href: 'https://github.com/zillow/drywall/blob/master/CHANGELOG.md',

0 commit comments

Comments
 (0)