[grunt dev] use --with-es to start es
This commit is contained in:
parent
3c979056f3
commit
b523eaab73
|
@ -51,7 +51,7 @@ grunt test build
|
|||
- start the development server.
|
||||
|
||||
```sh
|
||||
grunt dev # use the --es flag to install & start elasticsearch too
|
||||
grunt dev # use the "--with-es" flag to install & start elasticsearch too
|
||||
```
|
||||
|
||||
### Submit a pull request
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
"grunt-contrib-less": "~0.10.0",
|
||||
"grunt-contrib-requirejs": "~0.4.4",
|
||||
"grunt-contrib-watch": "~0.5.3",
|
||||
"grunt-esvm": "~0.1.1",
|
||||
"grunt-esvm": "~0.2.0",
|
||||
"grunt-mocha": "~0.4.10",
|
||||
"grunt-replace": "^0.7.9",
|
||||
"grunt-run": "^0.2.3",
|
||||
|
|
|
@ -11,7 +11,7 @@ module.exports = function (grunt) {
|
|||
'watch'
|
||||
];
|
||||
|
||||
if (!grunt.option('es')) {
|
||||
if (!grunt.option('with-es')) {
|
||||
_.pull(tasks, 'esvm:dev');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue