DEV Community

Cover image for execute the start script with Nodemon
khaled-17
khaled-17

Posted on

execute the start script with Nodemon

in your dir
add git init
npm init

then add your info about what you need
and press enter

now we have *package.json
*

go to part of scripts

and add your starter file
my starter file is app.js

  "scripts": {
    "start": "node app.js",
    "dev": "nodemon app.js"
  }
Enter fullscreen mode Exit fullscreen mode

Then you can use command:

npm run dev

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay