aboutsummaryrefslogtreecommitdiff
path: root/node_modules/babel-register/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/babel-register/README.md')
-rw-r--r--node_modules/babel-register/README.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/node_modules/babel-register/README.md b/node_modules/babel-register/README.md
index 6a4682b56..413e7a634 100644
--- a/node_modules/babel-register/README.md
+++ b/node_modules/babel-register/README.md
@@ -5,7 +5,7 @@
One of the ways you can use Babel is through the require hook. The require hook
will bind itself to node's `require` and automatically compile files on the
fly. This is equivalent to CoffeeScript's
-[coffee-script/register](http://coffeescript.org/documentation/docs/register.html).
+[coffee-script/register](http://coffeescript.org/v2/annotated-source/register.html).
## Install
@@ -66,7 +66,10 @@ require("babel-register")({
// Setting this will remove the currently hooked extensions of .es6, `.es`, `.jsx`
// and .js so you'll have to add them back if you want them to be used again.
- extensions: [".es6", ".es", ".jsx", ".js"]
+ extensions: [".es6", ".es", ".jsx", ".js"],
+
+ // Setting this to false will disable the cache.
+ cache: true
});
```