mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-11 09:11:14 +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/');
|
||||
}).finally(function() {
|
||||
server.close();
|
||||
}).catch(function(e) {
|
||||
console.error(e);
|
||||
process.exit(1);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user