Where style.min.css includes all the css files (bundle created with gulp). The gulp command is made by GitHub Actions when i commit a new change.
The idea here is to be able to download the theme from GitHub, edit the files, commit to GitHub that does the hard part for me: minify all the css and js files, archive the theme files, upload the .zip theme to Ghost (using this command).
If you’re looking to make local development easier in terms of being able to inspect CSS and figure out where to edit it, I’d suggest using SourceMaps as a part of your gulp setup, which will take care of this automatically.
Sounds a little bit crazy to build all the CSS & JS files on every small CSS or JS edit.
And i need to wait for livereload(), when this finishes. Is not that productive.
To solve the problem, i used a custom config variable in the package.json file. When i commit to the repo, GitHub Action will delete that from package.json. In this way, i know when i’m in development or production.