liveview
v1.6.0
Published
Titanium Live Realtime App Development
Readme
LiveView
Titanium Live App Reloading for simulator and device.
Install
Bleeding edge version
$ npm install -g git+https://github.com/appcelerator/liveview.gitliveview#help
Outputs usage. Optional command for its usage.
$ liveview <command> --helpliveview#install
Manually Install the Titanium CLI hook: Note: Cli hook is automatically installed with LiveView
$ liveview install clihookliveview#rm
Manually Remove the Titanium CLI hook: Note: Cli hook is automatically removed with LiveView
$ liveview rm clihookliveview#run
Run liveview with the requested Titanium CLI Build Flags. ( prompts for build flags if none provided )
$ liveview run [Titanium-CLI-Build-Flags]Run liveview via the Titanium CLI Tools
$ ti build --liveview [options]server#status
Outputs Server Active Server(s) Paths(s).
$ liveview server statusserver#pids
Outputs Server Active Server(s) pid Paths(s).
$ liveview server statusserver#stop
Stop liveview file/event servers
$ liveview server stopserver#start
Start a liveview file/event server for given directory
$ liveview server start [-p --project-dir] <project-dir-path> [-d --daemonize]Development
As LiveView is now distributed in the SDK, the best way to work on it is to link your local git repository into the SDK version used by the app you're using to test.
- Install the dependencies
npm install - Run
npm link, this allows you to symlink the module into your SDK easily cdto the SDK directory used by your app. So if your app is using8.3.1.GAuse:- Mac -
cd ~/Library/Application\ Support/Titanium/mobilesdk/osx/8.3.1.GA - Windows -
cd %PROGRAMDATA%\Titanium/mobilesdk/win32/8.3.1.GA
- Mac -
- Run
npm link liveviewand you're good to go! When you make changes in your local git repository they will be reflected straight away into the SDK
License
See LICENSE file for information on license.
