vegazync is used to watch and monitor all of your project files so you dont need to restart manually and let vegazync handle it for you. It can monitor any type of changes in files which will make your development smooth and easy.
Step 1.
To Install globally
npm install -g vegazync
To install locally in your project
npm i vegazync
Step 2. Inside package.json file add a script
{
"name": "vegazync",
"scripts": {
"start": "vegazync server.js",
},
}
Step 3. To Start the server with vegazync
npm start
You can manually restart vegazync via typing 'r' and hit Enter in the terminal
To stop and exit the process you can type 'c' and hit Enter in the terminal
vegazync ignores ".env","node modules" ".txt" & ".gitignore" files
Will add the feature of manually ignoring specific files and directories in future