 # Reload the app in the default browser
 gulp.task 'reload', ['build'], ->
 	browserSync.reload()
-	
+	firstRun = false;
+
 # Compile Sass
 gulp.task 'sass', ['prepare'], ->
 	options =

	srcs.push src =
		gulp
			.src sources, {cwd: COMPONENTS_DIRECTORY, nodir: true}
			.on 'error', onError

			.pipe gulp.dest TEMP_DIRECTORY
			.on 'error', onError

	es


	sources = [].concat ("**/*#{extension}" for extension in extensions)

	watcher = gulp.watch sources, {cwd: SRC_DIRECTORY, maxListeners: 999}, tasks

	watcher
		.on 'change', (event) ->
			firstRun = true if event.type is 'deleted'
		.on 'error', onError
