chore(root): Ensure development environment

This commit is contained in:
Bouncey
2018-09-03 11:23:18 +01:00
committed by mrugesh mohapatra
parent 46a217d0a5
commit dc00eb8555
225 changed files with 164 additions and 21387 deletions

View File

@ -0,0 +1,13 @@
const nodemon = require('nodemon');
nodemon({
ext: 'js json',
// --silent squashes an ELIFECYCLE error when the server exits
exec: 'DEBUG=fcc* npm run --silent babel-dev-server',
watch: './server',
spawn: true
});
nodemon.on('restart', function nodemonRestart(files) {
console.log('App restarted due to: ', files);
});