begeeben / gaia-develop

Help developers build and watch code change in Gaia.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:Mozilla Public License 2.0


Languages

Language:JavaScript 100.0%