gabrielPeart / js-test-driver

Automatically exported from code.google.com/p/js-test-driver
0 stars 0 forks source link

JTD always reloads changed files, not just once #402

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When I run jtd and change a file while the server is running, that file is 
reloaded on every consecutive test execution and not just once.

java -jar JsTestDriver/JsTestDriver.jar --config jsTestDriver.conf 
--captureConsole --verbose --runnerMode DEBUG --port 987

java -jar JsTestDriver/JsTestDriver.jar --config jsTestDriver.conf 
--captureConsole --verbose --tests all

touch code.js

java -jar JsTestDriver/JsTestDriver.jar --config jsTestDriver.conf 
--captureConsole --verbose --tests all

> Firefox 16.0 Linux loaded /test/js/code.js

java -jar JsTestDriver/JsTestDriver.jar --config jsTestDriver.conf 
--captureConsole --verbose --tests all

> test/js/code.js should already be loaded but I still see: Firefox 16.0 Linux 
loaded /test/js/code.js

The logs contains a com.google.gson.stream.MalformedJsonException. Apparently 
due to an unescaped quote in ' running tests ["all"]'. I have no idea if that 
is related to the problem.

Logs: http://pastebin.com/umc3mbT2

OpenJDK Runtime Environment (IcedTea6 1.11.4) (ArchLinux-6.b24_1.11.4-1-x86_64)
JsTestDriver-1.3.5.jar
Firefox 16.0.1

Original issue reported on code.google.com by h...@fidion.de on 26 Oct 2012 at 3:32

GoogleCodeExporter commented 8 years ago
This is probably a duplicate of bug #332.

But I like to take the chance to stress that this bug is really annoying.

Original comment by h...@fidion.de on 31 Oct 2012 at 2:08