diff --git a/server.js b/server.js index f2a118c..7b0f156 100644 --- a/server.js +++ b/server.js @@ -1,6 +1,7 @@ const port = 9000; -const browsersyncPort = 3000; +const browserSyncPort = 3000; const distPath = 'www'; + // express server const { join } = require('path'); const express = require('express'); @@ -12,6 +13,7 @@ app rep.sendFile(join(__dirname, distPath, '/index.html')), ) .listen(port); + // browser sync const bs = require('browser-sync').create(); bs.init({ @@ -19,6 +21,6 @@ bs.init({ proxy: `http://localhost:${port}`, open: false, notify: false, - port: browsersyncPort, - tunnel: true, + port: browserSyncPort + // tunnel: true, });