monaca / monaca-cli

Command line version of Monaca
Other
44 stars 14 forks source link

Fix normal remote build to follow the behavior of Localkit #16

Closed masahirotanaka closed 8 years ago

masahirotanaka commented 9 years ago

Currently Monaca CLI's normal remote build does not sync the project with the cloud. Therefore, please fix it to match the behavior as Localkit.

masahirotanaka commented 9 years ago

I noticed monaca-cli bundles NW.js, so we can display the remote build dialog using NW.js, similar to what Localkit is doing.

JW-Vinayak commented 9 years ago

Hi @masahirotanaka

I tried some basic applications that run with node webkit runtime using syntax nw /path/to/application.

When the same code (example is given below) is ran from monaca-cli, it couldn't find the required modules and context. var nwGui = require('nw.gui'); var aboutWindow = nwGui.Window.open('about.html', params);

If we managed to write a separate nw application that just opens up Monaca cloud build page and launch it using spawn or exec we wont be able to connect monaca-cli and browser close event.

Please do let me know your feedback.