These are chat archives for brunch/brunch
Fast front-end web app build tool with simple declarative config, seamless incremental compilation for rapid development, an opinionated pipeline and workflow, and core support for source maps.
brunch buildit compiles the JS to one thing, and when another dev on my team does
brunch buildit compiles to something else. Same version of brunch, 2.8.2 (and it was doing this on our previous version, 2.2.3). Any ideas?
Hello all. Does anyone know of a reliable way for a brunch plugin to determine if it's being run inside a
brunch watch --server call? I have a plugin that needs to emit an event whenever a file has been modified (for hot reloading purposes), but it only should be called inside a live dev server. For now my solution involves setting a
BRUNCH_WATCHINGenvironment variable right before the
brunch watch --servercall, but I'm sure there's a better way to solve this.
Here's the relevant line if someone wants to take a look: https://github.com/bkuri/marko-brunch/blob/master/index.coffee#L39
Thanks in advance!