 			}
 			if(TopLevelFields.MODULES in configData)
 			{
+				this._moduleOutputPaths = [];
 				var modules:Array = configData[TopLevelFields.MODULES];
 				var templateModuleCompilerArgs:Array = this.duplicateCompilerOptionsForModuleOrWorker(this._compilerArgs);
 				tmp.setGracefulCleanup();

				this.cleanOutputDirectory(outputDirectory);
			}

			if(this._workerOutputPaths != null) {
				var workerCount:int = this._workerOutputPaths.length;
				for(var i:int = 0; i < workerCount; i++)

					var output:String = "";
					if (ModuleFields.OUTPUT in module) {
						output = module[ModuleFields.OUTPUT];
						this._moduleOutputPaths.push(output);
					}
					if (output.length > 0) {
						moduleCompilerArgs.push("--" + CompilerOptions.OUTPUT + "=" + output);
