{"size": 466, "ext": "js", "max_stars_repo_path": "conf.nodemon.js", "max_stars_repo_name": "Monichre/boilerplate.react.spa.full-server", "max_stars_repo_stars_event_min_datetime": "2018-06-27T17:18:18.000Z", "max_stars_repo_stars_event_max_datetime": "2020-08-31T18:02:53.000Z", "max_issues_repo_path": "conf.nodemon.js", "max_issues_repo_name": "Monichre/boilerplate.react.spa.full-server", "max_issues_repo_issues_event_min_datetime": "2018-06-27T04:07:55.000Z", "max_issues_repo_issues_event_max_datetime": "2018-06-27T04:07:55.000Z", "max_forks_repo_path": "conf.nodemon.js", "max_forks_repo_name": "Monichre/boilerplate.react.spa.full-server", "max_forks_repo_forks_event_min_datetime": "2018-08-31T06:48:57.000Z", "max_forks_repo_forks_event_max_datetime": "2018-09-16T12:07:40.000Z"}
{"max_stars_count": 67, "max_issues_count": 1, "max_forks_count": 4, "avg_line_length": 20.2608695652, "max_line_length": 74, "alphanum_fraction": 0.6008583691}
const { writeFileSync } = require('fs');
const appConfig = require('./conf.app');

const conf = {
  execMap: {
    js: 'babel-node',
  },
  ignoreRoot: [
    '.git',
  ],
  // uncomment `verbose` to check things like what files are being watched
  // verbose: true,
  watch: [
    // detects server changes
    `${ appConfig.paths.DIST_PRIVATE }`,
  ],
};

try {
  writeFileSync('./nodemon.json', `${ JSON.stringify(conf, null, 2) }\n`);
}
catch(err) { throw err; }
