Repository navigation
Add magebox watch command for mage-os/magento-cache-clean and Hyva watcher - #66
Merged
Merged
Conversation
Runs cache-clean.js in the foreground against the current project, detecting the globally installed binary via PATH or Composer's global bin directory. Prompts to install via 'composer global require mage-os/magento-cache-clean' when missing. Ctrl-C exits cleanly.
Contributor
|
Nice, this one was on my whishlist! 👍 |
Contributor
|
@peterjaap awesome feature, lets merge :-) |
Collaborator
Author
- Detect Hyvä theme tailwind directory and run npm watch in a tmux split pane alongside cache-clean.js - Run generate-cache-clean-config.php before starting the watcher to ensure var/cache-clean-config.json reflects current env.php - Use project PHP binary for config generation
Contributor
|
@peterjaap nice feature. I have/had the same functionality in a command. Wasn't sure if it was to specific for my workflow or not. Couple of questions:
I know all edge cases, but it can all be solved of course. I gave my script a menu to choose the right theme when there is more than one. Other two are built in logic. |
Collaborator
Author
|
Contributor
|
@peterjaap this tool gets better by the day. Nice! I love the way I am so close to the source I can have an influence :) I'll keep sharing my ideas. We have an internal demo scheduled tomorrow morning. So my collegues can switch over too. |
Collaborator
Author
|
@Aquive awesome!! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Runs cache-clean.js in the foreground against the current project, detecting the globally installed binary via PATH or Composer's global bin directory. Prompts to install via 'composer global require mage-os/magento-cache-clean' when missing. Ctrl-C exits cleanly.