nodemon Questions
2
Solved
I have an images directory that I want to watch. The directory can have many different file types. I know you can specify a list of file types for nodemon to watch, but how can I tell nodemon to wa...
Gaitan asked 15/11, 2014 at 19:5
13
Solved
I installed NodeJS (4.4.5) and then proceed to install nodemon (1.9.2) as well,
I follow all the instrucctions of instalation (npm install -g nodemon)
I created a new folder, inside I have my serv...
Fraudulent asked 3/6, 2016 at 20:10
17
Solved
I am trying to set up a RESTful API with Node and Postgres. I have run into a problem where whenever I attempt to run the server (using npm start) to test it locally, I get the following output:
...
Rochdale asked 31/1, 2018 at 4:36
7
Solved
I'm using Docker with fig to build NodeJS dev-env.
While I using nodemon to watch the server.js, changing server.js won't restart the server.
CMD ["nodemon", "/nodeapp/server.js"]
But while I c...
Lowder asked 1/12, 2014 at 10:45
4
Is there a way to debug a nestJS project with nodemon.
i tried this code in launch.json
{
"type": "node",
"request": "launch",
"name": "NestJs Watch",
"runtimeExecutable": "npm",
"runtimeAr...
Kawasaki asked 18/2, 2020 at 16:14
4
i have made the handlebars template config on my index.js file, but when i try to run my code with nodemon he returns me this error. anyone can help?
enter image description here
enter image descri...
Volta asked 14/11, 2021 at 11:59
28
How can I execute the start script from a package.json file with Nodemon?
6
Solved
I use nodemon version 1.18.9 (Latest version as of today).
I use Visual Studio Code (VSCode). I open a terminal and execute nodemon dev-server.js but it displays this repeatedly
restarting due...
Sheol asked 16/1, 2019 at 3:1
3
Here's my code for an express server:
const express=require('express');
express();
const app=express();
app.get('/',(req,res)=>{
res.send('Welcome to API xyz!');
});
app.listen(3000,()=>{...
4
Solved
I'm using nodemon with docker-compose.
Here is my Dockerfile:
FROM node:10
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
CMD ["npm", "start"]
My docker-compose.yml
v...
Sst asked 20/8, 2019 at 12:44
24
Solved
I'm trying to run a dev server with TypeScript and an Angular application without transpiling ts files every time.
What I found is that I can run .ts files with ts-node but I want also to watch .ts...
Eared asked 22/6, 2016 at 22:50
5
Solved
Are there any tools to live reload electron app when code is changed similar to browser-sync for web?
Whenever we change code for electron app, I am terminating existing running process and relaun...
Renitarenitent asked 31/8, 2016 at 13:0
9
Solved
I just started learning Node.js. The idea of this small application is to use express and mongosse to store some users in a based cloud database (mongoDB via mlab).
I have two seperate files :
Us...
8
Solved
nodemon always worked for me. I always did nodemon server and it would run the server file and watch for updates and node would restart. But now when I do it, I get this in the cmd (I use windows):...
Pollinosis asked 31/5, 2016 at 4:16
7
Solved
I have a node project written in typescript@2.
My tsconfig has sourceMap set to true and the *.map.js files are generated. When I execute my transpiled *.js JavaScript files via node or nodemon, I...
Lancelle asked 7/2, 2017 at 10:56
10
I am a beginner at NodeJS stuff.
Environment is Windows 7 64 Bit.
Node is installed and working.
NPM is also working fine.
Nodemon is installed. (In App and also Globally)
Now when I run the com...
Eurystheus asked 29/3, 2018 at 14:42
13
Solved
I'm learning GraphQL and am using prisma-binding for GraphQL operations. I'm facing this nodemon error while I'm starting my Node.js server and its giving me the path of schema file which is auto g...
7
Solved
I am trying to use TypeScript's paths functionality so that I don't need to use relative imports any more.
Here is my tsconfig.json file:
{
"compilerOptions": {
"target": &quo...
Possessory asked 1/10, 2019 at 14:34
9
Is there any way to clear terminal while nodemon is running?
I am using Ubuntu 18.04
7
Solved
I have a simple node server written in typescript. My package.json is configured as:
"scripts": {
"build": "tsc",
"dev": "nodemon --watch src/**/* -e ts,json --exec ts-node ./src/server.ts",
"d...
Kay asked 1/3, 2018 at 4:51
22
I'm on a Mac running El Capitan. I have node v5.6.0 and npm v3.6.0.
When I try to run nodemon, I get:
-bash: nodemon: command not found
I thought this may mean that I didn't have nodemon insta...
7
I want to use nodemon to automatically detect changes in my scripts in node.js project and restart when change detected. I have my project setup using express.js. How to use nodemon with express.js...
31
I'm creating a project and using nodejs, express for the backend.
Everything works fine but as I make any change in the file, nodemon is unable to restart the server due to following error:
Error: ...
Jaunita asked 13/4, 2020 at 3:53
8
in my package.json I am using
"scripts": {
"start": "node app.js"
},
but if I use nodemon replace with node app.js like
"scripts": {
"start": "nodemon app.js"
},
then what will happen? Beca...
Aggregation asked 20/8, 2016 at 8:16
3
Solved
I'm building an E-commerce site, where there's an Authentication system.
I noticed that if the client login with a wrong user or password, the backend/server that works with nodemon will crach and ...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.