Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3768415
D2931.id7464.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
666 B
Referenced Files
None
Subscribers
None
D2931.id7464.diff
View Options
diff --git a/gulpfile.babel.js b/gulpfile.babel.js
--- a/gulpfile.babel.js
+++ b/gulpfile.babel.js
@@ -23,7 +23,7 @@
const PRODUCTION = !!(yargs.argv.production);
// Load settings from settings.yml
-const { PORT, UNCSS_OPTIONS, PATHS } = loadConfig();
+const { PORT, UNCSS_OPTIONS, PATHS, TUNNEL } = loadConfig();
function loadConfig() {
let ymlFile = fs.readFileSync('config.yml', 'utf8');
@@ -142,7 +142,10 @@
// Start a server with BrowserSync to preview the site in
function server(done) {
browser.init({
- server: PATHS.dist, port: PORT
+ server: PATHS.dist,
+ port: PORT,
+
+ tunnel: TUNNEL,
}, done);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 07:50 (21 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259779
Default Alt Text
D2931.id7464.diff (666 B)
Attached To
Mode
D2931: Restore tunnel for BrowseSync server
Attached
Detach File
Event Timeline
Log In to Comment