Home

Issue: 1631

can't run bash script after production build

[issue link]

I was able to automate nuxt apps deployments to production,
deployments are done this ease > i’m running this simple bash script on production server:

cd /home/user/app
git pull origin master
yarn
npm run build
pm2 restart "app"

for now the build command for nuxt has no end, so i can not restart the node server after building the app.
screenshot from 2017-09-10 11-25-56

how to fix it?

This bug report is available on Nuxt.js community (#c1454)