Merge pull request #610 from spicyj/err

Die with status 1 when website generation fails
This commit is contained in:
Ben Alpert 2015-04-01 18:34:27 -07:00
commit c6203f6516

View File

@ -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);
});
});