esbuild-plugin-nodemon
v0.1.2
Published
A esbuild plugin to run scripts using Nodemon
Downloads
36
Readme
esbuild-plugin-nodemon
Run and reload scripts with esbuild.
Usage
npm install --save-dev esbuild-plugin-nodemon
# or
yarn add -D esbuild-plugin-nodemon
const nodemonPlugin = require("esbuild-plugin-nodemon");
esbuild.build({
entryPoints: ["./index.js"],
outfile: "./dist/index.js",
watch: true,
platform: "node",
format: "cjs",
plugins: [nodemonPlugin()]
});