Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/rollup/dist/shared/watch.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 rollup = require('./rollup.js'); 14 15 const path = require('node:path'); 15 16 const process = require('node:process'); 16 const rollup = require('./rollup.js');17 const index = require('./index.js'); 17 18 const node_os = require('node:os'); 18 const index = require('./index.js');19 19 require('./parseAst.js'); 20 20 require('../native.js'); … … 64 64 const task = this.task; 65 65 const isLinux = node_os.platform() === 'linux'; 66 const isFreeBSD = node_os.platform() === 'freebsd'; 66 67 const isTransformDependency = transformWatcherId !== null; 67 68 const handleChange = (id, event) => { 68 69 const changedId = transformWatcherId || id; 69 if (isLinux ) {70 if (isLinux || isFreeBSD) { 70 71 // unwatching and watching fixes an issue with chokidar where on certain systems, 71 72 // a file that was unlinked and immediately recreated would create a change event
Note:
See TracChangeset
for help on using the changeset viewer.