Skip to content

Nodemon not restarting: [nodemon] restarting due to changes. #1882

@moksedulislam

Description

@moksedulislam

Nodemon not restarting: [nodemon] restarting due to changes... i use vs code if change my code but not update my code browser and show restarting use due to change

  • nodemon -v:2.0.9
  • node -v:v16.0.0
  • Operating system/terminal environment: windows 10 vs code terminal
  • Using Docker? What image:
  • Command you ran: nodemon index.js

Expected behaviour

const http = require("http"); const PORT = 3000; const hostName = "127.0.0.1"; const server = http.createServer((req,res) => { res.end("Welco my server server test test"); }) server.listen(PORT,hostName, () => { console.log(server is running at http://${hostName}:${PORT}) })

Actual behaviour

Steps to reproduce

[nodemon] 2.0.9
[nodemon] to restart at any time, enter rs
[nodemon] watching path(s): .
[nodemon] watching extensions: js,mjs,json
[nodemon] starting node index.js
server is running at http://127.0.0.1:3000
[nodemon] restarting due to changes...
[nodemon] restarting due to changes...


If applicable, please append the --dump flag on your command and include the output here ensuring to remove any sensitive/personal details or tokens.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions