/
erioxis
/
web-nodejs
Обзор
Документация
Войти
/
erioxis
/
web-nodejs
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
backend/node_modules/nodemon/bin/nodemon.js
16 строк
436 B
erioxis
lab11fix
15 дек 2025, 23:21
15 дек 2025, 23:21
70dc7ba
Код
Авторство
О чём код?
#!/usr/bin/env node const cli = require('../lib/cli'); const nodemon = require('../lib/'); const options = cli.parse(process.argv); nodemon(options); const fs = require('fs'); // checks for available update and returns an instance const pkg = JSON.parse(fs.readFileSync(__dirname + '/../package.json')); if (pkg.version.indexOf('0.0.0') !== 0 && options.noUpdateNotifier !== true) { require('simple-update-notifier')({ pkg }); }