gaia-develop

0.1.8 • Public • Published

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

Package Sidebar

Install

npm i gaia-develop

Weekly Downloads

16

Version

0.1.8

License

none

Last publish

Collaborators

  • begeeben