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

Report abuse

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

Report abuse

Pinned

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

    JavaScript 1

  2. 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 Public

    Forked from MustafaHaddara/the-mind

    JavaScript

  4. versus-be Public

    The backend repo for the app called Versus

    JavaScript 1

96 contributions in the last year

Dec Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Mon Wed Fri

Contribution activity

December 2022

1 contribution in private repositories Dec 5

Seeing something unexpected? Take a look at the GitHub profile guide.