Created
April 25, 2019 21:23
-
-
Save ikushlianski/a3de6d6fe3ed389e3878cb76829e8f4e to your computer and use it in GitHub Desktop.
We can run our webpack-dev-server and listen to localhost:8080 with gulp's browserSync
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const gulp = require('gulp'); | |
const browserSync = require('browser-sync'); | |
gulp.task('mobile', function() { | |
browserSync({ | |
proxy: 'localhost:8080', | |
open: false, | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment