You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/tutorials/Gulp.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -313,7 +313,7 @@ There are basically three changes here, but they require you to refactor your co
313
313
314
314
1. We wrapped our `browserify` instance in a call to `watchify`, and then held on to the result.
315
315
2. We called `watchedBrowserify.on('update', bundle);` so that Browserify will run the `bundle` function every time one of your TypeScript files changes.
316
-
3. We called `watchedBrowserify.on('log', gutil.log);` to log to the console.
316
+
3. We called `watchedBrowserify.on('log', fancy_log);` to log to the console.
317
317
318
318
Together (1) and (2) mean that we have to move our call to `browserify` out of the `default` task.
319
319
And we have to give the function for `default` a name since both Watchify and Gulp need to call it.
0 commit comments