README.md in boojs-0.0.29 vs README.md in boojs-0.0.30
- old
+ new
@@ -62,12 +62,20 @@
(sh)>boojs -v code.js
(sh)>echo $?
0
```
+
#### NOTES
* Calling `booPing()` will immediately return `"pong"` to `stdout`. You may use this to know when boo has started up fully.
* `console.error(msg)` will output to `$stderr`. `console.log(msg)` will output to `$stdout`.
+
+#### Local Storage Persistance
+Every restart of boojs will cause `localStorage` to be reset. There is a bug where multiple instances of `boojs` will all *share* the same
+instance of `localStorage`, so if you open multiple copies of boojs, you are guaranteed to delete `localStorage` of all boojs instances.
+You may restart the boojs intsance without deleting local storage via sending `$__RESTART__` directly to `stdin` of the boojs instance as
+it's own line. You may then wait for the reply `$__RESTART_OK__`. At this point, boojs will have restarted with a fresh instance except
+that `localStorage` will still be intact.
## Requirements
- Ruby 2.1 or Higher