diff --git a/gulpfile.js b/gulpfile.js index 8036073..bf9b608 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -30,7 +30,7 @@ var browserifyTask = function (options) { entries: [options.src], // Only need initial file, browserify finds the rest transform: [reactify], // We want to convert JSX to normal javascript debug: options.development, // Gives us sourcemapping - cache: {}, packageCache: {}, fullPaths: true // Requirement of watchify + cache: {}, packageCache: {}, fullPaths: options.development // Requirement of watchify }); // We set our dependencies as externals on our app bundler when developing @@ -181,4 +181,4 @@ gulp.task('deploy', function () { gulp.task('test', function () { return gulp.src('./build/testrunner-phantomjs.html').pipe(jasminePhantomJs()); -}); \ No newline at end of file +});