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