Samsung / Wits

Wits for Your Tizen web application development.It will saved your development times and bring pleasure of developing out. Using Wits, You can instantly RELOAD your app's JavaScript/CSS code instead of reinstalling your app every time you make a change.
Apache License 2.0
113 stars 25 forks source link

Read `deviceIp` from cli options or `.env` files #84

Closed easingthemes closed 3 years ago

easingthemes commented 3 years ago

In order to avoid changing .witsconfig.json non stop when switching between emulator and real device, it would be good to make deviceIp configurable, either reading it from cli options or .env files. Or even make .witsconfig.json available as .js file so that we can do this on our end.

prozanne commented 3 years ago

Hi :)

I will consider the feature that the value of the "deviceIp" can be inputted from cli option. The usage will be "wits -s --deviceIp=0.0.0.0" like that. I will let you know if we support it.

Thanks.

easingthemes commented 3 years ago

Great, thanks.

prozanne commented 3 years ago

Hi,

The PR has been merged. I will let you know after releasing WITs (v2.4.8).

The usage is "wits -s deviceIp=0.0.0.0" or "wits -w deviceIp=0.0.0.0" Thanks! The issue will be closed.

prozanne commented 3 years ago

WITs has been released v2.4.8.

You can use the feature, wits -s deviceIp=x.x.x.x wits -w deviceIp=x.x.x.x

Thanks!