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. const path = require('path') Ĭonst HtmlWebpackPlugin = require('html-webpack-plugin') Ĭonst MiniCssExtractPlugin = require('mini-css-extract-plugin') Ĭonst autoprefixer = require('autoprefixer') When this plugin is enabled, make is called on file save. Scroll down to Enable - SimpleReload and hit enter. To review, open the file in an editor that reveals hidden Unicode characters. Provides Chrome browser integration for the official LiveReload apps (Mac & Windows) and third-parties like guard-livereload and yeoman. LiveReloadMake - LiveReload Make extension for Sublime Text 3. Once installed, you will still need to enable the plugin in the command palette as described by NishaitBaig: open the Sublime Text command palette (while in Sublime Text type Ctrl + Shift + p on Linux/Windows or + shift + p on Mac) Type LiveReload: Enable/disable plugins and hit enter. 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. livereload-server.py This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below.
0 Comments
Leave a Reply. |