Skip to content

Commit

Permalink
添加css hack&gulp自动化&wechat图片修改
Browse files Browse the repository at this point in the history
  • Loading branch information
Neveryu committed Jul 30, 2017
1 parent 94365b9 commit 48f827e
Show file tree
Hide file tree
Showing 11 changed files with 7,224 additions and 57 deletions.
13 changes: 13 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
var gulp = require('gulp');
var browserSync = require('browser-sync').create();
var reload = browserSync.reload;

// 代理
gulp.task('browser-sync', function() {
browserSync.init({
proxy: 'localhost:4000'
});
gulp.watch('source/**/*.*').on('change', reload);
});

gulp.task('default', ['browser-sync']);
Loading

0 comments on commit 48f827e

Please sign in to comment.