From d924e9baf1fc7ba5c8d6526e2dfb809435d73cc2 Mon Sep 17 00:00:00 2001 From: Kamil93 Date: Wed, 4 Apr 2018 21:18:42 +0200 Subject: [PATCH] Update readme.markdown --- readme.markdown | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/readme.markdown b/readme.markdown index 7fc7df3..57def50 100644 --- a/readme.markdown +++ b/readme.markdown @@ -198,9 +198,10 @@ with the number of bytes in the bundle X and the time in seconds Y. # working with browserify transforms -If your custom transform for browserify adds new files to bundle in a non-standard way without requiring. -You can inform Watchify about these files by emiting 'file' event. +If your custom transform for browserify adds new files to the bundle in a non-standard way without requiring. +You can inform Watchify about these files by emiting a 'file' event. +``` module.exports = function(file) { return through( function(buf, enc, next) { @@ -214,6 +215,7 @@ module.exports = function(file) { } ); }; +``` # install