I have two simple bash scripts on Windows and Linux or mac that I want to share here,
this scripts actually run the npm run dev command on click and will help on dev phase.
💡 Tips:
- Ensure the script is placed in the root directory of your project.
- Keep the terminal window open until you have finished working. Closing it will stop the server.
- On Linux/macOS, make the script executable using the following command:
chmod +x script-name.sh
Also you can replace other commands or maybe add multiple commands on this template, have fun!