mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-29 04:35:36 +08:00
Merge pull request #610 from spicyj/err
Die with status 1 when website generation fails
This commit is contained in:
@@ -59,5 +59,8 @@ glob('src/**/*.*', function(er, files) {
|
|||||||
console.log('It is live at: http://facebook.github.io/react-native/');
|
console.log('It is live at: http://facebook.github.io/react-native/');
|
||||||
}).finally(function() {
|
}).finally(function() {
|
||||||
server.close();
|
server.close();
|
||||||
|
}).catch(function(e) {
|
||||||
|
console.error(e);
|
||||||
|
process.exit(1);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user