From 3fe5648a3482ea19190d36ff261c30c039f89ad6 Mon Sep 17 00:00:00 2001 From: JJ Behrens Date: Thu, 17 Dec 2015 15:52:08 -0800 Subject: [PATCH] Use `npm bin` when calling gulp Otherwise, you'll get "-bash: gulp: command not found" when gulp is not installed globally. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bb5bc1c..7e0156d 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ The project's [sample `gulpfile.js`](/demo/gulpfile.js) illustrates the full use in context. (Note that the sample gulpfile.js is the one in the `demo` folder, not the one in the root of the project.) You can run the sample by cloning this repo, using [`npm install`](https://docs.npmjs.com/) to pull in the -dependencies, changing to the `demo/` directory, running `gulp serve-dist`, and +dependencies, changing to the `demo/` directory, running `` `npm bin`/gulp serve-dist ``, and then visiting http://localhost:3000. There's also a [sample `Gruntfile.js`](/demo/Gruntfile.js) that shows service worker generation in