I'm trying to create a powershell alias for my ng build command which is fairly long.
node --max_old_space_size=4096 .\node_modules\@angular\cli\bin\ng build --configuration=debug --watch
Aliasing the command directly using Set-Alias -Name ngBuild -Value node --max_old_space_size=4096 .\node_modules\@angular\cli\bin\ng build --configuration=debug --watch
doesn't work for me.