diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..3c3629e6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules diff --git a/gulpfile.js b/gulpfile.js new file mode 100644 index 00000000..e65e78d1 --- /dev/null +++ b/gulpfile.js @@ -0,0 +1,12 @@ +var gulp = require('gulp'); +var browserSync = require('browser-sync').create(); + +gulp.task('serve', function() { + browserSync.init({ + server: { + baseDir: "./" + }, + }); + + gulp.watch(['*.html', '*.css', '*.js']).on('change', browserSync.reload); +}); diff --git a/package.json b/package.json new file mode 100644 index 00000000..a5bd5dfb --- /dev/null +++ b/package.json @@ -0,0 +1,7 @@ +{ + "name": "agent-mockup", + "dependencies": { + "browser-sync": "^2.11.0", + "gulp": "^3.9.0" + } +}