Giter Site home page Giter Site logo

Comments (5)

IonicaBizau avatar IonicaBizau commented on May 7, 2024

This is not a bug but it is the intended behavior.

watch doesn't allow colors by default, however watch --color should do it. It didn't worked properly for me (maybe it doesn't allow 256 colors?), and that's why I used the following workaround:

while true; do clear; git-stats; sleep 2; done

(modify 2 in the number of seconds of the interval)

Give me feedback if this worked.

from git-stats.

jonalmeida avatar jonalmeida commented on May 7, 2024

watch --color did indeed show the stats but you can't see the colors which makes all "days" look the same (another screenshot below). The while-loop method causes a flash at every interval when refreshing but it does still work.

Cool stuff regardless!

screenshot from 2015-02-16 12 53 27

from git-stats.

IonicaBizau avatar IonicaBizau commented on May 7, 2024

OK, you should be able to do this with the regarde tool, which I have just published:

$ npm install -g regarde
$ regarde 'git-stats' # 1 second interval
$ regarde 'git-stats' -n 10 # 10 seconds

from git-stats.

jonalmeida avatar jonalmeida commented on May 7, 2024

Fantastic, It works great now! I've been playing with it by importing repos individually and it seems to work well :)

Thanks for crazy fast support!

Closing..

from git-stats.

IonicaBizau avatar IonicaBizau commented on May 7, 2024

You're welcome! 😄 Glad it's working!

from git-stats.

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.