-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix eleventy start command #640
Fix eleventy start command #640
Conversation
✅ Deploy Preview for idrc ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
package.json
Outdated
@@ -9,6 +9,7 @@ | |||
"backstop:test:ci": "backstop test --config=backstop.config.js", | |||
"backstop:approve": "backstop approve --config=backstop.config.js", | |||
"build": "npm-run-all -l clean build:*", | |||
"build-cms": "node ./build-cms.js -w", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a bit confusing because we have a build:cms
script too, and all the build:*
commands are for building the site, not running in dev mode. How about you change this to cms
and then change cms
to proxy
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, that makes sense; thanks for the suggestion.
package.json
Outdated
@@ -24,7 +25,7 @@ | |||
"test": "run-s test:*", | |||
"start": "npm-run-all -l clean -p start:*", | |||
"start:webpack": "mix watch", | |||
"start:eleventy": "run-p dev cms", | |||
"start:eleventy": "run-p dev build-cms cms", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"start:eleventy": "run-p dev build-cms cms", | |
"start:eleventy": "run-p dev cms proxy", |
npm run test
without errorsnpm run build
without errorsDescription
Eleventy start command has updated on this commit: 9ebe519 and build-cms script was omitted by an accident. Add back build-cms script with eleventy start command.