From 8fce2d2e5cd3915a017467ee754bf2ce6932fbcf Mon Sep 17 00:00:00 2001 From: Nicolas Bevacqua Date: Thu, 17 Mar 2016 14:19:36 -0300 Subject: [PATCH] [cli] Cross-platform CLI execution of "npm start". Fixes #4962 --- CONTRIBUTING.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 19dffe7114a15..ada37777322f2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -55,7 +55,7 @@ Please make sure you have signed the [Contributor License Agreement](http://www. npm run elasticsearch ``` -- Start the development server. +- Start the development server. _On Windows, you'll need you use Git Bash, Cygwin, or a similar shell that exposes the `sh` command._ ```sh npm start diff --git a/package.json b/package.json index 4374c50569957..fb15b12a3c148 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "test:coverage": "grunt test:coverage", "build": "grunt build", "build:ospackages": "grunt build --os-packages", - "start": "./bin/kibana --dev", + "start": "sh ./bin/kibana --dev", "precommit": "grunt precommit", "karma": "karma start", "elasticsearch": "grunt esvm:dev:keepalive",