- Upgrade sander module to version that uses graceful-fs, to prevent EMFILE errors
- If a source node is used more than once, changes will only trigger one rebuild (#19)
- Merge operations can be aborted mid-flight, to prevent unnecessary work
- Fix for (#19)
- Nodes clean up after themselves on each successful build, to avoid lengthy subsequent startup times (#16)
- Serve task emits
build
event on each successful build - Files are given the correct extension by the map transformation if their inputs are unchanged (#14)
- The
ready
event is only emitted by the serve task when the server is listening and the first build is complete
- Fix names of sourcemaps in subdirectories
- Reinstate CRC comparisons, for fast one-to-one transformations (unchanged files are not transformed again)
- Implement
node.stop()
, for cleaning up after finishing serving or restarting a server
- Internal refactoring
gobble('dir')
will throw an error if thedir
directory doesn't exist (#12)
- Fixed bug introduced in 0.6.0, whereby
.cache
directories were inadvertently destroyed on cleanup
- Started maintaining a changelog
- Plugin API changed - transformers take a single callback (rather than callback/errback) or return a Promise (#5)
- Map transforms can return a string, or an object with a
code
property (containing the transformed contents) and an optionalmap
property (containing a valid sourcemap) (#6) - Build tasks default to a different gobbledir to serve tasks (
.gobble-build
instead of.gobble
), so a project can be served and built simultaneously (#7) gobble.file()
is no longer exposed - plugins should usefs
or, if necessary, an alternative filesystem utility such as sander (which gobble uses internally)