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

Add option to push app to target #83

Open easingthemes opened 3 years ago

easingthemes commented 3 years ago

It would be very useful to have separate option for deployment only, without watch.

prozanne commented 3 years ago

Hi,

Thanks for suggesting a new feature. I guess you want to use WITs for deploying application. But, unfortunately WITs has quite different structure. In fact, WITs installs a container application and push the files from your actual project. Furthermore, even if we offer a feature for deploying the application, since WITs only supports a creating Tizen certification. So you can't actually release the application directly. (For deploying application, Samsung certification is required.)

For these reasons, we can't support your idea at this moment. In the future, if we support a samsung certification too, we will consider more about that.

Thanks.

prozanne commented 3 years ago

We recommend to using an extension of Atom or VSCode for deploying application. Actually each extension has WITs feature too.

Atom : Support for Tizen, Samsung certification (https://atom.io/packages/atom-tizentv-2) VSCode: Support for Tizen certification only (https://marketplace.visualstudio.com/items?itemName=tizensdk.tizentv)

Thanks!

easingthemes commented 3 years ago

Thanks for taking a look. I did not mean real deployment, it's fine as is now, with WIT's wrapper app.

I meant with just one option to push changes to target. --watch and --start are already doing this. But since this 2 are continuous processes it's not possible to integrate them into custom workflow, eg I have a node script for various code manipulations, and at the end I want to push result to target device.

Should be simple, just adding condition based on cli param: https://github.com/Samsung/Wits/blob/master/command/start.js#L40

prozanne commented 3 years ago

Hi, again :)

I got it what you're saying. But, regarding to purpose of WITs, the sequential process is logically reasonable. However if you want to add some sorts of steps between "--watch" or "--start", Currently we are offering APIs of WITs, so you can give us suggestions. If it seems specific and reasonable, we can consider to support the extra apis. Please let me know your exact requirement with examples. Then we can consider to help you.

Thanks!