mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
update grunt to use 'npm update' instead of 'npm install'
This commit is contained in:
parent
9bca076be6
commit
622630b462
3 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
module.exports = function (grunt) {
|
||||
var instrumentationMiddleware = require('../utils/instrumentation');
|
||||
var amdRapperMiddleware = require('../utils/amd-rapper');
|
||||
var amdRapperMiddleware = require('../utils/amd_rapper');
|
||||
|
||||
return {
|
||||
dev: {
|
||||
|
|
|
@ -29,7 +29,7 @@ module.exports = function (repo, dir) {
|
|||
.then(function (out) {
|
||||
if (prevHash) newHash = out.trim();
|
||||
if (!prevHash || newHash !== prevHash) {
|
||||
return spawn('npm', ['install'], dir)()
|
||||
return spawn('npm', ['update'], dir)()
|
||||
.then(spawn('bower', ['install'], dir))
|
||||
.then(function () {
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue