Die with status 1 when website generation fails
So Travis won't wipe out the website on error. :\
This commit is contained in:
parent
adbdfe65e1
commit
d81cb6e162
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue