Co-founder of @womenintechcaribbean. Full-stack developer with an eye for design. I love solving problems thru code and creating clean, user-friendly UIs.
-
Rezzie Maven
- Trinidad and Tobago
-
08:15
(UTC -04:00) - https://rezziemaven.com
- @rezziemaven
Pinned Loading
-
make-env-example
make-env-example PublicNode-based script/CLI that makes an up-to-date .env.example file from your .env file in your project.
JavaScript 1
-
How to trigger a task on a specific ...
How to trigger a task on a specific file change in your Node project while nodemon is running 1# How to trigger a task for a specific file change in your Node project while `nodemon` is running
23I created a script/CLI, [**`env-eg`**](https://github.com/rezziemaven/make-env-example), that helps me easily create an up-to-date `.env.example` file from a `.env` file. After using it a couple of times with great success, I wondered if there was a way to automate the execution of the command whenever I saved/ updated my `.env` file. Moreover, I wondered whether this was possible while my server was still running using `nodemon` in `development` mode.
45Long story short, after trial and error, even testing whether this was possible through `nodemon` (it was but was executing the command on every file change instead of only my `.env` file), I finally figured out the perfect solution. It involves using two `npm` packages - `concurrently` and `onchange` - to make this magic happen:
-
-
wp-template
wp-template PublicA CLI that adds a README, .gitignore or composer.json file to your custom WordPress theme or plugin
Shell 1
-
evergreen-tabs
evergreen-tabs PublicA chrome extension that opens a list of tabs that should always be pinned when a new window is opened
JavaScript
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.