As a newcomer to FrontEnd and JavaScript coding in TypeScript, I find myself constantly needing to follow these steps after making a code change: save the code -> compile it using Grunt -> reload the webpage. It can be quite time-consuming. Is there a way to automate the process of running 'Grunt' automatically after saving the code in VSCode, such as saving the code -> compiling TypeScript to JavaScript -> reloading the page? (I prefer using Grunt to convert all TypeScript files in the project to JavaScript).
I've attempted to resolve this issue by utilizing tsconfig.json and tasks.json, but unfortunately, it has not been successful.