Open andredewaard opened 8 years ago
Getting this error with Browserify-hmr when saving a js file: [HMR] Error applying update TypeError: Failed to execute 'removeChild' on 'Node': parameter 1 is not of type 'Node'. Is not hot reloading the browser
[HMR] Error applying update TypeError: Failed to execute 'removeChild' on 'Node': parameter 1 is not of type 'Node'.
This is my gulpfile:
var elixir = require('laravel-elixir'); var gutils = require('gulp-util'); var b = elixir.config.js.browserify; if(gutils.env._.indexOf('watch') > -1){ b.plugins.push({ name: "browserify-hmr", options : {} }); } b.transformers.push({ name: "vueify", options : {} }); elixir(function(mix) { // mix.sass('app.scss'); mix.browserify('main.js'); mix.browserSync({ files: [ elixir.config.appPath + '/**/*.php', elixir.config.get('public.css.outputFolder') + '/**/*.css', elixir.config.get('public.versioning.buildFolder') + '/rev-manifest.json', 'resources/views/**/*.php' ], proxy: 'tasklap.app', }).version(["public/css/all.css", "public/js/main.js"]); });
+1
Getting this error with Browserify-hmr when saving a js file:
[HMR] Error applying update TypeError: Failed to execute 'removeChild' on 'Node': parameter 1 is not of type 'Node'.
Is not hot reloading the browserThis is my gulpfile: