Removing duplicate watchErr declaration (my bad)

This commit is contained in:
Trevor Burnham
2011-12-22 10:50:10 -08:00
parent 8728706237
commit d3f60599e8
2 changed files with 0 additions and 10 deletions

View File

@@ -223,11 +223,6 @@
});
});
};
watchErr = function(e) {
if (e.code !== 'ENOENT') throw e;
removeSource(source, base, true);
return compileJoin();
};
try {
return watcher = fs.watch(source, callback = function(event) {
if (event === 'change') {

View File

@@ -194,11 +194,6 @@ watch = (source, base) ->
return watchErr err if err
compileScript(source, code.toString(), base)
watchErr = (e) ->
throw e unless e.code is 'ENOENT'
removeSource source, base, yes
compileJoin()
try
watcher = fs.watch source, callback = (event) ->
if event is 'change'