When running casper through grunt casper with option verbose (and direct) - I see the output being displayed only after casper has finished running.
This is different from the intended outcome, as running casperjs with the same options, I see the logs & progress as it goes, and I don't have to wait for the spec to finish working.
Perhaps this is due to the fact you are creating casper as a spawn?
CasperJs version: 1.1.0-DEV
"grunt-casper": "0.1.3"
Windows 7
Latest GruntJs
Yes, that is in fact the reason why. You have to run Casper through a spawned process because QtWebKit and V8 don't share the same js environment or event loop.
When running casper through grunt casper with option verbose (and direct) - I see the output being displayed only after casper has finished running.
This is different from the intended outcome, as running casperjs with the same options, I see the logs & progress as it goes, and I don't have to wait for the spec to finish working.
Perhaps this is due to the fact you are creating casper as a spawn?
CasperJs version: 1.1.0-DEV "grunt-casper": "0.1.3" Windows 7 Latest GruntJs