Command to watch and bundle using brfs without watchify
问题 I'm trying to replicate the behavior of watchify with the brfs transform, but I need to use brfs directly because I want to avoid the additional code added to the script when using require with browserify/watchify. Using brfs directly simply replaces require(theFile) with its contents and nothing else. Using this command to bundle the following code produces my intended result: brfs main.js > bundle.js // main.js var fs = require('fs'); var templates = { 'header': fs.readFileSync('app