GithubHelp home page GithubHelp logo

Comments (6)

oprypin avatar oprypin commented on May 23, 2024 1

I'll implement this 👍

from mkdocs.

fralau avatar fralau commented on May 23, 2024

See also @pawamoy's comment:

If it can detect that the URL is already open in a tab, then that would be best.

from mkdocs.

oprypin avatar oprypin commented on May 23, 2024

OK let's say the URL is already open in a tab, what should it do then? Just not open the browser? I think that's worse than opening the browser even if the tab will be duplicated. Unfortunately there's no implementation for "focus an existing tab if possible".

from mkdocs.

fralau avatar fralau commented on May 23, 2024

It makes a sense: a duplicated tab should not be a big deal.

from mkdocs.

oprypin avatar oprypin commented on May 23, 2024

one of the problems I met was with async: the time it might take for the page to load on the browser, versus the time it takes for the server to start.

Hmm for me it worked reliably. Could you try my pull request and see if you run into such issues with it?

from mkdocs.

pawamoy avatar pawamoy commented on May 23, 2024

I think that's worse than opening the browser even if the tab will be duplicated.

Yeah that's what other tools do anyway. We can discard my comment about detecting the tab.

from mkdocs.

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.