Skip to content

Conversation

@BronsonQuick
Copy link
Member

Fixes #36.

Copy link
Collaborator

@peterwilsoncc peterwilsoncc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The NPM scripts haven't been back-ported as yet (I believe there are plans to) so this will fail if a user has an existing checkout of WordPress Develop 5.1 or earlier.

Let's hold off on this until the code is backported.

@BronsonQuick
Copy link
Member Author

How about I update it and see if I can do a version check to handle both? The provision failed for me as build --dev wouldn't work for me

@peterwilsoncc
Copy link
Collaborator

Confirmed this.

npm install is not including devDependencies during provisioning, which is what includes grunt.

I'm not sure why, whether something has changed in Core, NODE_ENV is set to production or something else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use npm scripts instead of grunt

3 participants