diff --git a/Makefile b/Makefile index b3209b1..8efd4e8 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ ifeq ($(findstring io.js, $(shell which node)),) endif ifeq (node, $(BIN)) - FLAGS = --harmony-generators + FLAGS = --harmony endif REQUIRED = --require should --require should-http diff --git a/Readme.md b/Readme.md index adc6795..7b243c9 100644 --- a/Readme.md +++ b/Readme.md @@ -21,7 +21,7 @@ $ npm install koa Koa is supported in all versions of [iojs](https://iojs.org) without any flags. - To use Koa with node, you must be running __node 0.11.16__ or higher for generator and promise support, and must run node(1) + To use Koa with node, you must be running __node 0.12.0__ or higher for generator and promise support, and must run node(1) with the `--harmony-generators` or `--harmony` flag. ## Community diff --git a/package.json b/package.json index be3cf0d..fc6119e 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "test-console": "^0.7.1" }, "engines": { - "node": ">= 0.11.16", + "node": ">= 0.12.0", "iojs": ">= 1.0.0" }, "files": [