balupton/docpad — Issue #96: Error after changing src files whil "docpad watch" is running
Author: mskrzypek
Created: 2011-11-03 11:26:25+00:00
State: open

I get the following error in console, one by one, after changing any file in src catalog, if "docpad run" or "docpad watch" is running. If I change something and manually run "docpad generate", everything is ok.

error: [standard] { stack: [Getter/Setter],
arguments: undefined,
type: undefined,
message: 'ENOENT, No such file or directory \'/home/mskrzypek/GITROOT/django_ing_ppe/out/scripts.js\'',
errno: 2,
code: 'ENOENT',
path: '/home/mskrzypek/GITROOT/django_ing_ppe/out/scripts.js' }
→ [2011-11-03 12:14:38.204] [/home/mskrzypek/GITROOT/django_ing_ppe/node_modules/buildr/lib/buildr.coffee:120] [Buildr.]

/home/mskrzypek/GITROOT/django_ing_ppe/node_modules/buildr/lib/buildr.coffee:82
throw err;
^
Error: ENOENT, No such file or directory '/home/mskrzypek/GITROOT/django_ing_ppe/out/scripts.js'
info: Regenerated due to file change at Thu Nov 03 2011 12:14:38 GMT+0100 (CET)
→ [2011-11-03 12:14:38.458] [/home/mskrzypek/GITROOT/test/docpad/lib/docpad.coffee:720] [unknown]
notice: Generate request received, but we are already busy generating... waiting...
→ [2011-11-03 12:14:38.503] [/home/mskrzypek/GITROOT/test/docpad/lib/docpad.coffee:626] [Docpad.generateAction]
info: [standard] Processing started
→ [2011-11-03 12:14:38.428] [/home/mskrzypek/GITROOT/django_ing_ppe/node_modules/buildr/lib/buildr.coffee:120] [Buildr.]
file 'type.less' wasn't found.
info: Regenerated due to file change at Thu Nov 03 2011 12:14:38 GMT+0100 (CET)
→ [2011-11-03 12:14:38.555] [/home/mskrzypek/GITROOT/test/docpad/lib/docpad.coffee:720] [unknown]
notice: Generate request received, but we are already busy generating... waiting...
→ [2011-11-03 12:14:39.013] [/home/mskrzypek/GITROOT/test/docpad/lib/docpad.coffee:626] [Docpad.generateAction]
info: [standard] Processing started
→ [2011-11-03 12:14:38.227] [/home/mskrzypek/GITROOT/django_ing_ppe/node_modules/buildr/lib/buildr.coffee:120] [Buildr.]
info: [standard] Processing finished
→ [2011-11-03 12:14:38.946] [/home/mskrzypek/GITROOT/django_ing_ppe/node_modules/buildr/lib/buildr.coffee:120] [Buildr.]