mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
open localhost.com:3000 instead of localhost:3000
This commit is contained in:
parent
f318b6bb3e
commit
9aa47a5de4
@ -23,7 +23,7 @@ var argv = require('yargs').argv;
|
||||
var server = require('./server.js').app;
|
||||
var minifyCss = require('gulp-minify-css');
|
||||
var uglify = require('gulp-uglify');
|
||||
|
||||
var opn = require('opn');
|
||||
|
||||
|
||||
var config = {
|
||||
@ -73,6 +73,7 @@ gulp.task('js:build', function() {
|
||||
|
||||
gulp.task('serve', ['browser-sync', 'run-server', 'sass:build', 'sass:watch', 'copy'], function() {
|
||||
bundle(true);
|
||||
opn('http://www.localhost.com:3000');
|
||||
});
|
||||
|
||||
gulp.task('jest', function(done) {
|
||||
@ -93,7 +94,8 @@ gulp.task('browser-sync', function() {
|
||||
browserSync({
|
||||
files: config.filesToWatch,
|
||||
proxy: 'http://localhost:4000',
|
||||
port: 3000
|
||||
port: 3000,
|
||||
open: false
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -69,6 +69,7 @@
|
||||
"lodash": "^3.9.3",
|
||||
"moment": "^2.10.6",
|
||||
"object-assign": "^2.0.0",
|
||||
"opn": "^3.0.2",
|
||||
"q": "^1.4.1",
|
||||
"raven-js": "^1.1.19",
|
||||
"react": "^0.13.2",
|
||||
|
Loading…
Reference in New Issue
Block a user