Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/rollup/dist/shared/watch-cli.js
rd565449 r0c6b92a 1 1 /* 2 2 @license 3 Rollup.js v4.2 0.04 Sat, 03 Aug 2024 04:48:21 GMT - commit df12edfea6e9c1a71bda1a01bed1ab787b7514d53 Rollup.js v4.27.4 4 Sat, 23 Nov 2024 06:59:50 GMT - commit e805b546405a4e6cfccd3fe73e9f4df770023824 5 5 6 6 https://github.com/rollup/rollup … … 12 12 Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); 13 13 14 const index = require('./index.js'); 14 15 const promises = require('node:fs/promises'); 15 16 const process$2 = require('node:process'); 16 const index = require('./index.js');17 17 const cli = require('../bin/rollup'); 18 18 const rollup = require('./rollup.js'); … … 21 21 const node_child_process = require('node:child_process'); 22 22 const rollup_js = require('../rollup.js'); 23 require('path'); 23 24 require('fs'); 24 25 require('util'); 25 26 require('stream'); 26 require('path');27 27 require('os'); 28 28 require('./fsevents-importer.js'); … … 540 540 }); 541 541 } 542 asyncfunction close(code) {542 function close(code) { 543 543 process$2.removeListener('uncaughtException', closeWithError); 544 544 // removing a non-existent listener is a no-op 545 545 process$2.stdin.removeListener('end', close); 546 if (watcher)547 await watcher.close();548 546 if (configWatcher) 549 547 configWatcher.close(); 550 if (code) 551 process$2.exit(code); 548 Promise.resolve(watcher?.close()).finally(() => { 549 process$2.exit(typeof code === 'number' ? code : 0); 550 }); 551 // Tell signal-exit that we are handling this gracefully 552 return true; 552 553 } 553 554 // return a promise that never resolves to keep the process running
Note:
See TracChangeset
for help on using the changeset viewer.