var browserSync = require('browser-sync'); var themeName = 'vre2024'; var siteUrl = 'https://d10test.islandarchives.ca'; var cssWatchDir = 'css/**/*.css'; var themePath = '/themes/custom/vre2024'; var filesToServe = '.'; browserSync({ proxy: siteUrl, files: cssWatchDir, plugins: ['bs-rewrite-rules'], serveStatic: [filesToServe], rewriteRules: [ { match: themePath, replace: '' //match: /\/themes\/custom\/vre2024/g, //replace: '' } ] });