Skip to content

begeeben/gaia-develop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPM

gaia-develop

Developing gaia was always more cumbersome to me comparing to developing web apps. The main difference is that live reload is broadly supported for developing web apps. This project aims to remove this gap by providing live reload to gaia app development.

This module saves you from manually rebuilding Gaia and clicking the install and relaunch button on WebIDE.

Prerequisites

This module currently only works on Mac.

Installation

npm install -g gaia-develop

Usage

In your gaia folder, run

gaia-develop b2g [deviceType] [appName]

Once the b2g desktop is running, file changes in gaia/apps, gaia/tv_apps and shared will trigger a APP=appName make. After that it'll either restart b2g desktop or install and relaunch the selected app.

Examples

gaia-develop b2g phone sms

Shorthand version:

gaia-develop sms

If no appName argument is provided, on file changes it will rebuild Gaia and restart b2g.

Known Issues

https://github.com/begeeben/gaia-develop/issues

About

Help developers build and watch code change in Gaia.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published