Run `npm install` after project has been updated.

When initializing a new project, we should run `npm install` so that
the project directory starts off clean. When updating an old project,
this will update dependencies.

Change-Id: Idd7602875480b57ab96d5151773761650a94f58c
This commit is contained in:
Michael Krotscheck 2016-06-10 12:12:01 -07:00
parent f8c932ea8d
commit 5073e1f9e0
1 changed files with 4 additions and 0 deletions

View File

@ -106,6 +106,10 @@
excluded.forEach(function (path) {
self.fs.delete(self.destinationPath(path));
});
},
install: function () {
this.npmInstall();
}
});
})();