How do I pass post-build command?
shubhankartrivedi
HOBBYOP

a year ago

nodejs package.json basically

8 Replies

shubhankartrivedi
HOBBYOP

a year ago

null



shubhankartrivedi
HOBBYOP

a year ago

...
"deploy": {
        "startCommand": "npm run purge-cache && npm run start",
...

Currently i'm doing this


shubhankartrivedi
HOBBYOP

a year ago

i want the purge-cache command to be run post-build


shubhankartrivedi
HOBBYOP

a year ago

or post-start to be exact


shubhankartrivedi
HOBBYOP

a year ago

ping me when messaging


a year ago

There is no platform native way to run something after your start command


a year ago

create a bash script and make it run that bash script


Loading...