Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
build(file-watcher): don't throw errors
Browse files Browse the repository at this point in the history
log errors and keep process running.
  • Loading branch information
pixelass committed Nov 24, 2017
1 parent d02dd10 commit 0f724f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/watch-files.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ module.exports = () => {
const command = path.join(__dirname, '../node_modules/.bin/babel src -d dist')
exec(command, (err, info) => {
if (err) {
throw err
//throw err
log.error(err)
}
console.log(e)
log.info(`running babel:\n${info}`)
})
});
Expand Down

0 comments on commit 0f724f0

Please sign in to comment.