Skip to content
View rezziemaven's full-sized avatar

Organizations

@womenintechcaribbean
Block or Report

Block or report rezziemaven

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned

  1. make-env-example make-env-example Public

    Node-based script/CLI that makes an up-to-date .env.example file from your .env file in your project.

    JavaScript 1

  2. 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
    2
    
                  
    3
    I 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.
    4
    
                  
    5
    Long 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:
  3. the-mind the-mind Public

    Forked from MustafaHaddara/the-mind

    JavaScript

  4. versus-be versus-be Public

    The backend repo for the app called Versus

    JavaScript 1

  5. wp-template wp-template Public

    A CLI that adds a README, .gitignore or composer.json file to your custom WordPress theme or plugin

    Shell 1