Skip to content

Instantly share code, notes, and snippets.

@abrarShariar
Last active July 8, 2017 02:27
Show Gist options
  • Save abrarShariar/53206cf5ba18835eea4e3d3ed0c44811 to your computer and use it in GitHub Desktop.
Save abrarShariar/53206cf5ba18835eea4e3d3ed0c44811 to your computer and use it in GitHub Desktop.
script for build and push - zeference
## for build and tag
npm run build:prod
## which is similar to
node --max_old_space_size=2048 ./node_modules/.bin/ng build --prod --env=prod
## if build successful
git tag -f build-passed
git push --tags -f
## set files to watch at higher number
echo 65536 | sudo tee -a /proc/sys/fs/inotify/max_user_watches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment