shastajs / boilerplate

Example application built with shasta
MIT License
63 stars 5 forks source link

mock thinky connections when doing a build #16

Open yocontra opened 8 years ago

stephenlacy commented 8 years ago

I needed to add a process.exit(err? err : 0) to the end of the webpack.run cb in the bin/compile file to close the connection when the build finishes. Do you want to merge a pr for that, or would you rather restructure the compile process to not hold open connections?

yocontra commented 8 years ago

@stevelacy Actually just did that, but the build should not touch the DB since a production build will try to connect to the production DB which is obv not good