 
 	# get args from parent process to pass on to child process
 	args  = ("--#{key}=#{value}" for own key, value of yargs.argv when key isnt '_' and key isnt '$0')
-	args  = ['karma'].concat args
+	args  = ['karma', 'e2e'].concat args
 	spawn = childProcess.spawn command, args, {stdio: 'inherit'}
 
 # Compile TypeScript


	file

openApp = ->
	sources = 'index.html'

	options =
		open:
			url: appUrl

	gulp
		.src sources, {cwd: DIST_DIRECTORY, nodir: true}
		.on 'error', onError

		.pipe open '', options.open
		.on 'error', onError

startServer = ->
	browserSync
		middleware: PROXY_CONFIG.map (config) ->
			options = url.parse config.url
			options.route = config.route
			proxy options
		open: false
		port: PORT
		server: DIST_DIRECTORY
	, -> firstRun = false


# Open the app in the default browser
gulp.task 'open', ['server'], ->

# Execute Plato complexity analysis
gulp.task 'plato', ['clean:working'], ->
