Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cordova serve vs phonegap serve commands

Tags:

cordova

Phonegap just released an app http://app.phonegap.com/ which listens to the port that runs when using:

phonegap serve

I know that you can also run:

cordova serve

but the major difference is phonegap serve continually refreshes content while cordova serve seems to be only static.

Does anyone know if it's possible to run the cordova serve command and have it continually refresh the content like phonegap serve does?

like image 356
cciservices Avatar asked Apr 18 '14 16:04

cciservices


1 Answers

After you've created a project using Cordova, you can serve it with Phonegap using the hack described in this question

In short, create a throwaway project using phonegap, then import the .cordova directory from it into your Cordova project.

like image 126
Carlos Ferreyra Avatar answered Nov 19 '22 06:11

Carlos Ferreyra