fix: rename app entrypoints
This commit is contained in:
17
api-server/development-start.js
Normal file
17
api-server/development-start.js
Normal file
@ -0,0 +1,17 @@
|
||||
const path = require('path');
|
||||
const nodemon = require('nodemon');
|
||||
|
||||
nodemon({
|
||||
ext: 'js json',
|
||||
// --silent squashes an ELIFECYCLE error when the server exits
|
||||
exec: 'npm run --silent babel-dev-server',
|
||||
watch: path.resolve(__dirname, './server'),
|
||||
spawn: true,
|
||||
env: {
|
||||
DEBUG: 'fcc*'
|
||||
}
|
||||
});
|
||||
|
||||
nodemon.on('restart', function nodemonRestart(files) {
|
||||
console.log('App restarted due to: ', files);
|
||||
});
|
Reference in New Issue
Block a user