Skip to content

Commit 9c047f5

Browse files
committed
force start app on build
1 parent ff66d03 commit 9c047f5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@
88
"scripts": {
99
"dev": "next",
1010
"rebuild": "node importBuilder",
11-
"build": "next build",
11+
"build": "next build && next start -p $PORT",
1212
"start": "next start -p $PORT",
13-
"heroku-postbuild": "npm run build",
1413
"open": "concurrently \"http-server -a localhost -p 3000\" \"open http://localhost:3000\"",
1514
"component": "node tools/create/component.js",
1615
"reboot": "heroku builds:cancel -a forautoweb && heroku restart -a forautoweb",

0 commit comments

Comments
 (0)