We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b9097a commit 2f675abCopy full SHA for 2f675ab
lib/rebuild.js
@@ -7,16 +7,10 @@ var log = require('npmlog')
7
8
function rebuild (gyp, argv, callback) {
9
10
- // first "clean"
11
- gyp.commands.clean([], function (err) {
12
- if (err) {
13
- // don't bail
14
- log.info('rebuild clean failed', err.stack);
15
- }
16
-
17
- gyp.commands.configure([], function (err) {
18
- if (err) return callback(err);
19
- gyp.commands.build([], callback);
20
- });
21
+ gyp.todo.push(
+ { name: 'clean', args: [] }
+ , { name: 'configure', args: [] }
+ , { name: 'build', args: [] }
+ )
+ process.nextTick(callback)
22
}
0 commit comments