 			return if file.isNull()
 
 			ext = path.extname file.path
-			p = path.resolve '/', path.relative file.cwd, file.path
+			p = unixifyPath(path.join('/', path.relative(file.cwd, file.path)))
 
 			return if ext is '.js'
 				scripts.push p



gulp.task 'spa', ['scripts', 'styles', 'views'], ->
	includify = ->
		scripts = []
		styles = []

	gulp
		.src '**', cwd: tempDirectory
		.pipe gulp.dest distDirectory

gulp.task 'copy:temp', ['clean:working', 'components'], ->
	gulp
		.src ["#{srcDirectory}**", "#{componentsDirectory}**"]
