Do you know the .vscode/tasks.json file? You can add it to your project, and @vscode will run your configured commands automatically when you open the project ✨

I use this for the Inertia Table so it starts the web server and Vite without me having to open terminals for them 👌

#Laravel #PHP #JS #coding

  • Kogasa@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 个月前

    Pre-commit hooks aren’t committed to the repo though. What’s to disable? Unless it’s something like python’s precommit module I guess

    • Lodra@programming.devM
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 个月前

      The configuration is often committed to the repo. And some repos heavily rely on the precommit actions running before you can push or have pipelines function correctly

      • Kogasa@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 个月前

        You’d still need to manually install the git hooks though, the .git folder isn’t part of the repo