Comparing version 0.1.10 to 0.1.11
{ | ||
"name": "natal", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"description": "Bootstrap ClojureScript React Native apps", | ||
@@ -16,3 +16,4 @@ "main": "index.js", | ||
"commander": "^2.8.1", | ||
"semver": "^5.0.1" | ||
"semver": "^5.0.1", | ||
"tail": "^0.4.0" | ||
}, | ||
@@ -19,0 +20,0 @@ "engines": { |
@@ -55,7 +55,10 @@ # Natal | ||
$ cd future-app | ||
$ natal repl | ||
$ rlwrap natal repl | ||
``` | ||
(If you don't have `rlwrap` installed, you can simply run `natal repl`, but | ||
using `rlwrap` allows the use of arrow keys). | ||
If there are no issues, the REPL should connect to the simulator automatically. | ||
To manually choose which device it connects to, you can run `natal repl --choose`. | ||
To manually choose which device it connects to, you can run `rlwrap natal repl --choose`. | ||
@@ -77,10 +80,6 @@ At the prompt, try loading your app's namespace: | ||
When the REPL connects to the simulator it will print the location of its | ||
compilation log. It's useful to tail it to see any errors, like so: | ||
When the REPL connects to the simulator it will begin to automatically log | ||
success messages, warnings, and errors whenever you update your `.cljs` files. | ||
``` | ||
$ tail -f /Volumes/Ambly-81C53995/watch.log | ||
``` | ||
## Tips | ||
@@ -125,6 +124,6 @@ - Having `rlwrap` installed is optional but highly recommended since it makes | ||
- [Watchman](https://facebook.github.io/watchman) `>=3.7.0` | ||
- [rlwrap](http://utopia.knoware.nl/~hlub/uck/rlwrap/) `>=0.42` (optional but recommended for REPL use) | ||
## Updating Natal | ||
You can get the latest version of Natal by running `npm up -g natal`. | ||
You can get the latest version of Natal by running `npm install -g natal` again. | ||
@@ -136,4 +135,4 @@ | ||
- [x] Automatic wrapping of all React Native component functions for ClojureScript | ||
- [x] Automatically tail compilation log and report errors to REPL | ||
- [ ] Automatically run React packager in background | ||
- [ ] Automatically tail cljs build log and report compile errors | ||
- [ ] Working dev tools | ||
@@ -140,0 +139,0 @@ - [ ] Automatic bundling for offline device usage and App Store distribution |
Sorry, the diff of this file is not supported yet
35995
5
157
+ Addedtail@^0.4.0
+ Addedtail@0.4.0(transitive)