Skip to content
This repository was archived by the owner on Sep 14, 2023. It is now read-only.
This repository was archived by the owner on Sep 14, 2023. It is now read-only.

Making a shortcut for daily usage #21

@bdonov

Description

@bdonov

This is likely just my limited understanding, but to operate the site successfully I have had to re-use "npm run start" every time. A solution to this would be appreciated. In the meantime, I have built a batch file for a quick shortcut. I do not want to see the cmd window. I cannot seem to automatically close the cmd/console window containing log that is produced by "npm run start" or make it run invisibly. I have only been able to minimize it. Traditional exit, timeout, taskkill and other cmd tools have been unsuccessful within my simple batch file code. I presume it is a piece of npm build that I haven't grasped yet with my inexperience. Suggestions or alternatives for this novice are appreciated.

@echo off
cd C:\Users\<%userprofile%>\Documents\GitHub\global-streaming-search
start "" npm run start
start http://localhost:8000
exit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions