Git Product home page Git Product logo

Comments (9)

vojtajina avatar vojtajina commented on May 10, 2024

I can't reproduce this.

--no-auto-watch behaves the same as --auto-watch=false, it does not watch and therefore does not print "Watching..." logs

Agree, we might change "Watching..." logs to be debug rather than info.

from karma.

IgorMinar avatar IgorMinar commented on May 10, 2024

I can reproduce the issue easily with angular's test suite

from karma.

vojtajina avatar vojtajina commented on May 10, 2024

My output is totally the same:

$ testacular start angularFiles.js --no-auto-watch
info: Web server started at http://localhost:9876/

$ testacular start angularFiles.js --auto-watch=false
info: Web server started at http://localhost:9876/

from karma.

IgorMinar avatar IgorMinar commented on May 10, 2024

I have some config changes on my local branch but maybe it's single-run that must be used in addition with auto-watch?

this is how I run the tests when I see the difference:

testacular start testacular-jquery.conf.js --single-run --auto-watch=false

vs

testacular start testacular-jquery.conf.js --single-run --no-auto-watch

from karma.

IgorMinar avatar IgorMinar commented on May 10, 2024

yes, if I leave --single-run out, the two auto-watch flags behave the same.

from karma.

vojtajina avatar vojtajina commented on May 10, 2024

That's weird, I still can't reproduce it. Once you are in office, you show me...

from karma.

IgorMinar avatar IgorMinar commented on May 10, 2024

I think that the actual problem is that --single-run and --auto-watch=false puts testacular into auto watch mode (fs is being watched and testacular doesn't quit after the first run). that's also why the output is being printed.

from karma.

vojtajina avatar vojtajina commented on May 10, 2024

Ok, I finally managed to reproduce this. It's a bug in optimist https://github.com/substack/node-optimist/issues/71

Here's a pull request with a fix https://github.com/substack/node-optimist/pull/72

from karma.

dignifiedquire avatar dignifiedquire commented on May 10, 2024

This was merged and is in release v0.3.5 included. Will update the dependencies accordingly.

from karma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.