Skip to content
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

Write docs for dev mode #40

Closed
2 tasks done
crftwrk opened this issue Nov 22, 2021 · 0 comments
Closed
2 tasks done

Write docs for dev mode #40

crftwrk opened this issue Nov 22, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation
Projects

Comments

@crftwrk
Copy link
Member

crftwrk commented Nov 22, 2021

Force scss compile when environment is development #39

When wp_get_environment_type() returns that it is in development mode, either from reading the define in the wp-config.php or from reading the getenv, the scss will always be compiled, no matter if changes have been made.
To set the environment to development, add the following line to your wp-config.php
define('WP_ENVIRONMENT_TYPE', 'development');

  • Docs for recompile
  • Docs for source map

BTW @justinkruit this is an amazing feature 🙏

@crftwrk crftwrk added this to To do in 5.2.0.0 via automation Nov 22, 2021
@crftwrk crftwrk added the documentation Improvements or additions to documentation label Dec 13, 2021
@crftwrk crftwrk moved this from To do to Done in 5.2.0.0 Feb 15, 2022
@crftwrk crftwrk closed this as completed Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
No open projects
Development

No branches or pull requests

1 participant