


Mode: isProd ? 'production' : isDev & 'development',įilename: isDev ? 'script/script.js' : 'script/bundle-.js',ĬontentBase: path. Prevent this user from interacting with your repositories and sending you notifications. Provides Chrome browser integration for the official LiveReload apps (Mac & Windows) and third-parties like guard-livereload and yeoman. lepture Merge pull request 244 from Lucas-C/configurable-default-reload-time. const path = require('path') Ĭonst HtmlWebpackPlugin = require('html-webpack-plugin') Ĭonst MiniCssExtractPlugin = require('mini-css-extract-plugin') Ĭonst autoprefixer = require('autoprefixer') Provides Chrome browser integration for the official LiveReload apps (Mac & Windows) and third-parties like guard-livereload and yeoman. If you modify files under path/to/dir, the server tells all. When a browser load livereload.js, it connects to the LiveReloadX server using WebSocket. running as a web server on port 35729 which serves livereload.js and acts as a WebSocket server. I updated webpack 4 to webpack 5, after which everything works, except for updating the browser (live reload) who can tell the reason? here is my config. Type livereloadx path/to/dir on your command line, then LiveReloadX starts: watching path/to/dir.
