michaelficarra / commonjs-everywhere

:rainbow: minimal CommonJS browser bundler with aliasing, extensibility, and source maps
BSD 3-Clause "New" or "Revised" License
158 stars 21 forks source link

Module Interface Option for Watching #65

Closed EndangeredMassa closed 11 years ago

EndangeredMassa commented 11 years ago

It seems that you can only use the file watcher in CLI mode. Can we get this option when using the module interface as well?

michaelficarra commented 11 years ago

I think it may be a little too high-level for that. It can be implemented given what is already available. If anything, this should be done in a separate module that is required by the CLI. I'll have to think about it a little more.