Stencil: Configuration: port setting?

Created on 10 Feb 2018  路  4Comments  路  Source: ionic-team/stencil

Just tried to create a new app using the starter app, based on 0.4.0 release.

npm start Launches with port 333, but somehow I have an old StencilJS running on same port which is displayed instead!

Is there a way to configure Stencil with the port to be used to host the http server?

Thanks.

In the meantime, I guess I need to shutdown my laptop to have the old instance terminated.

Most helpful comment

if anyone stumbles on it its --port, so yarn start --port 3000 for example

All 4 comments

Hey! Since this sounds like a dev-server related issue and not a stencil issue I am going to move this issue for now. Thanks!

This issue was moved to ionic-team/stencil-dev-server#23

Thanks, I didn't even know about that project. Is it mentioned in the docs?
Will look into it shortly.
Cheers!

if anyone stumbles on it its --port, so yarn start --port 3000 for example

Was this page helpful?
0 / 5 - 0 ratings