Files
meteor/packages/mongo-dev-server
Simon Fridlund 4d37a05fb3 Add mongo-dev-server package (#8853)
* Add mongo-dev-server package

Only start the MongoDB server if this package
is present in the project.

* Small layout/formatting adjustments; updated README.

* Allow tests using fake-mongod to start (fake) Mongo.

* Adjust test stdout matching to be less sensitive to ordering.

* Add `mongo-dev-server` History.md entry.

* Remove mongo start check since the tested for error prevents mongo startup.

* Remove README traling whitespace.

* Bump mongo package version.
2017-07-26 18:08:00 +03:00
..
2017-07-26 18:08:00 +03:00
2017-07-26 18:08:00 +03:00

mongo-dev-server

Source code of released version | Source code of development version


When the mongo-dev-server package is included in a Meteor application, a local development MongoDB server is started alongside the application. This package is mostly used internally, as it is included by default with any application that has a dependency on mongo (which is most Meteor applications). In some cases however, people might be interested in using the Meteor Tool without having to start a local development Mongo instance (e.g. when using Meteor as a build system). If an application has no dependency on mongo, the mongo-dev-server package will be removed (since it is a direct dependency of the mongo package), and no local development Mongo server will be started.

Note this is a debugOnly package, meaning it will not be included in any production bundles.