<commit_before># nodemon-browsersync-webpack-plugin
A [webpack](https://webpack.github.io/) plugin that starts and reloads [Nodemon](https://nodemon.io/) and [Browsersync](https://www.browsersync.io/).  It is useful when developing web applications that leverage both server-side rendered HTML pages and webpack bundles.

## Installation
Install the plugin with npm:

`$ npm i -D nodemon-browsersync-webpack-plugin`

## Basic Usage


```
const NodemonBrowsersyncPlugin = require('nodemon-browsersync-webpack-plugin');
module.exports = {
  entry: './src/js/entry.js',
  output: {
    path: './public/assets',
    filename: 'bundle.js'
  },
  plugins: [new NodemonBrowsersyncPlugin({
    proxy: 'localhost:8001'
  )]
};
```

In the example above, Browsersync will wrap your vhost with a _proxy_ URL to view your site.

NOTE: a `nodemon.json` configuration file is recommended.<commit_msg>Add correct code syntax coloring<commit_after># nodemon-browsersync-webpack-plugin
A [webpack](https://webpack.github.io/) plugin that starts and reloads [Nodemon](https://nodemon.io/) and [Browsersync](https://www.browsersync.io/).  It is useful when developing web applications that leverage both server-side rendered HTML pages and webpack bundles.

## Installation
Install the plugin with npm:

`$ npm i -D nodemon-browsersync-webpack-plugin`

## Basic Usage


```javascript
const NodemonBrowsersyncPlugin = require('nodemon-browsersync-webpack-plugin');

module.exports = {
  entry: './src/js/entry.js',
  output: {
    path: './public/assets',
    filename: 'bundle.js'
  },
  plugins: [
    new NodemonBrowsersyncPlugin({
      proxy: 'localhost:8001'
    )
  ]
};
```

In the example above, Browsersync will wrap your vhost with a _proxy_ URL to view your site.

NOTE: a `nodemon.json` configuration file is recommended.
{'fraction_non_alphanumeric': 0.12348401323042998, 'fraction_numerical': 0.004410143329658214, 'mean_word_length': 4.307017543859649, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, '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': '2572914', 'n_tokens_mistral': 587, 'n_tokens_neox': 564, 'n_words': 166}