diff --git a/lib/cli/cmd_bundle.js b/lib/cli/cmd_bundle.js
index <HASH>..<HASH> 100644
--- a/lib/cli/cmd_bundle.js
+++ b/lib/cli/cmd_bundle.js
@@ -46,9 +46,11 @@ module.exports = {
 		var options = argv;
 		var config = makeStealConfig(argv);
 
-		_.defaults(options, {
-			filter: options.dev ? "node_modules/**/*" : options.filter
-		});
+		// make a bundle of dependencies in node_modules folder
+		// when the dev flag is used
+		if (options.dev) {
+			options.filter = "node_modules/**/*";
+		}
 
 		return stealTools.bundle(config, options)
 			.then(function() {
diff --git a/test/cli/cmd_bundle_test.js b/test/cli/cmd_bundle_test.js
index <HASH>..<HASH> 100644
--- a/test/cli/cmd_bundle_test.js
+++ b/test/cli/cmd_bundle_test.js
@@ -61,6 +61,7 @@ describe("cmd bundle module", function() {
 	it("dev flag defaults filter option to `node_modules/**/*`", function() {
 		cmdBundle.handler({
 			dev: true,
+			filter: "**", // default value
 			config: "/stealconfig.js"
 		});
Fix steal-tools bundle CLI

The `--dev` flag should set filter to "node_modules/**/*"