Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用npm run dev启动报错,是"dev": "nodemon app.js",这个原因? #24

Open
chelflan opened this issue Jul 31, 2019 · 1 comment

Comments

@chelflan
Copy link

在package中"dev": "nodemon app.js",而nodemon是什么??

@lfb
Copy link
Owner

lfb commented Jul 31, 2019

在package中"dev": "nodemon app.js",而nodemon是什么??

首先你需要安装包哦,npm install ,再运行命令:npm run dev,nodemon是一个辅助工具,它会监测项目中的所有文件,一旦发现文件有改动,nodemon 会自动重启应用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants