<commit_before>/*
 * @title Server
 * @description A task to initialise a local server
 * @example (cli) gulp server
 */


/*********************************************************************************
 1. DEPENDENCIES
 *********************************************************************************/

import browserSync from 'browser-sync';


/*********************************************************************************
 2. TASK
 *********************************************************************************/

export default () => {

  let bs = browserSync.create();

  return bs.init([
    sharedPaths.srcIndex,
    sharedPaths.outputJs,
    sharedPaths.outputCss
  ], {
    server: {
      baseDir: sharedPaths.outputDir
    },
    open: true,
    notify: false,
    scrollProportionally: true
  });

};<commit_msg>fix(browser sync): fixing paths to files to watch<commit_after>/*
 * @title Server
 * @description A task to initialise a local server
 * @example (cli) gulp server
 */


/*********************************************************************************
 1. DEPENDENCIES
 *********************************************************************************/

import browserSync from 'browser-sync';


/*********************************************************************************
 2. TASK
 *********************************************************************************/

export default () => {

  let bs = browserSync.create();

  return bs.init([`${sharedPaths.outputDir}/**/*.{html,css,js}`], {
    server: {
      baseDir: sharedPaths.outputDir
    },
    open: true,
    notify: false,
    scrollProportionally: true
  });

};
{'fraction_non_alphanumeric': 0.4712230215827338, 'fraction_numerical': 0.002398081534772182, 'mean_word_length': 5.2981132075471695, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4648424', 'n_tokens_mistral': 405, 'n_tokens_neox': 365, 'n_words': 88}