grommet / grommet-cli

Deprecated, use create-react-app for v2 instead. Command Line interface for grommet
Apache License 2.0
28 stars 18 forks source link

add support for `port` option inside webpack dev ser config #25

Closed tafelito closed 7 years ago

tafelito commented 7 years ago

Changing the port number from the webpack.config.babel.js within the devConfig.devServer has no effect on the port number used.

Right now the only way of changing the default port is to add the PORT env variable to the script

The webpack config file is created by default creating a new project using grommet

alansouzati commented 7 years ago

Fixed in https://github.com/grommet/grommet-cli/commit/15564f2d46635891bfe0f7f226ded06cb1d343eb

v3.0.1 released with support for that