JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 105
  • Score
    100M100P100Q108246F
  • License MIT

Wrapper script around nodemon that will automatically watch all linked modules

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (linkemon) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    linkemon

    A tiny wrapper around nodemon that will automatically watch all your linked node_modules while ignoring all the rest. As the name says, it should solve your nodemon problems when you use a lot linked modules, such as when having monorepos (Lerna, Yarn Workspaces, etc.).

    Prerequisites

    Make sure you have nodemon already installed

    npm install -g nodemon

    In Mac OS you will also need the realpath utility available in your PATH. You can install it with the following:

    brew install coreutils

    Install

    npm install -g linkemon 

    Usage

    Use the script as you would normally use nodemon. Behind the scenes the script will add any linked module in the ./node_modules directory to the watchlist. For example:

    linkemon -V server.js

    Arguments

    The following arguments are used directly by linkemon and therefore will not be forwarded to nodemon.

    --ignorePackage

    Excludes a specific linked package from the watchlist

    linkemon --ignorePackage myLinkedPackage1 --ignorePackage myLinkedPackage2 server.js