Skip to content

Instantly share code, notes, and snippets.

View FlxSaenger's full-sized avatar

Felix Sänger FlxSaenger

View GitHub Profile
@iamhosseindhv
iamhosseindhv / webpackEncore_browsersync.js
Created July 2, 2018 14:22
Browser sync for Webpack Encore Symfony 4
let config = Encore.getWebpackConfig();
config.watchOptions = { poll: true, ignored: /node_modules/ };
config.plugins.push(
new BrowserSyncPlugin(
{
host: 'aro.tech',
proxy: 'aro.tech',
files: [ // watch on changes
{
match: ['public/build/**/*.js'],