From 23c739924990af45bf267b7f3f3d46e6e9495efd Mon Sep 17 00:00:00 2001 From: Doug Wade Date: Fri, 8 Jul 2016 12:10:55 -0700 Subject: [PATCH] Add react-server-cli watch mode --- packages/react-server-cli/gulpfile.babel.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/react-server-cli/gulpfile.babel.js b/packages/react-server-cli/gulpfile.babel.js index 55dc9f2f4..ff28ea35d 100644 --- a/packages/react-server-cli/gulpfile.babel.js +++ b/packages/react-server-cli/gulpfile.babel.js @@ -25,3 +25,7 @@ gulp.task("eslint", [], () => { // there are no tests for this project :( gulp.task("test", ["eslint"]); + +gulp.task("watch", () => { + gulp.watch("src/*.js", ['default']); +});