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
    link
    English
    11 month ago

    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

    • @LodraM
      link
      English
      11 month ago

      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
        link
        English
        11 month ago

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