message: watch newly added files in watch-pages
diff: @@ -4,19 +4,20 @@ import chokidar from 'chokidar';
  import ora from 'ora';
  const PAGES_GLOB = `${resolve(__dirname, '../../src/pages')}/**/*.md`;
  -const watcher = chokidar.watch(PAGES_GLOB);
  +const watcher = chokidar.watch(PAGES_GLOB, { ignoreInitial: true });
  const spinner = ora('Watching pages').start();
  +watcher.on('add', handleChange);
  watcher.on('change', handleChange);
  async function handleChange(path) {
  try {
  - spinner.text = `Rebuilding ${path}`;
  + spinner.text = `Building ${path}`;
  await buildStaticPage(path, { prod: false });
  - spinner.succeed(`Rebuilt ${path}`);
  + spinner.succeed(`Built ${path}`);
  spinner.start('Watching pages');
  } catch (err) {
  - spinner.fail(`Failed to rebuild ${path}`);
  + spinner.fail(`Failed to build ${path}`);
  console.error(err.message);
  }
  }
  