var browserSync = require('browser-sync'); browserSync({ proxy: 'http://137.149.200.29', files: 'stylesheets/**/*.css', plugins: ['bs-rewrite-rules'], //serveStatic: ['.'], serveStatic: ['stylesheets'], rewriteRules: [ { match: /\/themes\/PurpleMine2-master\/stylesheets/g, replace: '' } ] });