I have node-sass installed in my package.json, and I currently have two scripts in my package.json, one to compile my sass into css, and another to localhost it, like this:
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "http-server",
"scss": "node-sass --watch scss -o css"
}
Both commands work but obviously it’d be nice if I could use one command to host and watch the files, so that I can edit as I host it.
I feel like this should be simple but am not sure about the best way to go about it. Any help would be greatly appreciated!