here is the package's link:https://www.npmjs.com/package/watchify I saw an usage somewhere: "watchify -o js/bundle.js -v -d js/app.js". I hope to know what dose the '-d' option mean. Thank you.
what dose the '-d' option in watchify(a npm package ) mean?
163 Views Asked by iamswf At
2
There are 2 best solutions below
0
Jose Jimenez
On
Watchify uses browserify and includes the argument list for it: https://github.com/substack/watchify/blob/master/bin/args.js
Look at https://github.com/substack/node-browserify#usage
for more information. As Andrey said, it sets up source maps for debugging.
Related Questions in JAVASCRIPT
- Using Puppeteer to scrape a public API only when the data changes
- inline SVG text (js)
- An array of images and a for loop display the buttons. How to assign each button to open its own block by name?
- Storing the preferred font-size in localStorage
- Simple movie API request not showing up in the console log
- Authenticate Flask rest API
- Deploying sveltekit app with gunjs on vercel throws cannot find module './lib/text-encoding'
- How to request administrator rights?
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- In Datatables, start value resets to 0, when column sorting
- How do I link two models in mongoose?
- parameter values only being sent to certain columns in google sheet?
- Run main several times of wasm in browser
- Variable inside a Variable, not updating
Related Questions in NPM
- How to use yarn's portal protocol?
- I have hundreds of dependencies on my package.json file which I didn't install (npm and using Warp)
- I am getting lots of errors when building react native app in Xcode
- How to fix npm errors without writing sudo in macOS?
- Why docker-compose volume binding didn't work during the build? Should I always COPY necessary for build files?
- How can I export a function within a React functional component to build a library?
- NPM Command Line Tool - Command not working
- Are there any known issues with NPM or Node.js when creating a new app?
- npm install has failed i got "ECONNRESET" error
- How to use mocha unit test chokidar watch events
- Call function of JS object of a module from different module
- Which is the best NPM JS library to use for a English dictionary lookup?
- npm ERR! command sh -c node install.mjs
- Module not found: Error: Can't resolve 'child_process' in 'react-cerbos-demo/node_modules/cerbos'
- unable to install npm package from github
Related Questions in BROWSERIFY
- Browserify Error: Uncaught TypeError: Unable to determine current node version in bundle.js
- Attempting to Bundle a Require Command For a Chrome Extension
- How can I resolve the problem by using CoinGecko ApI: webpack < 5 used to include polyfills for node.js core modules by default
- Expose $ and jQuery to global scope with Typescript, Browserify and Gulp
- Bundling separate vendor file with gulp+browserify
- ERROR in ./node_modules/cookie-signature/index.js 5:13-30
- How to fix --mangle-props error in uglify browserify?
- apiKey returning undefined using browserify & dotenv
- Call Kerberos node library from a React application
- How do I use browserify to convert node to the browser? nothing works for me?
- CDN that bundles npm packages for browsers?
- Trying to bundle a package using browserify and it's creating an empty file
- Terminal command Browserify is creating an empty output file?
- use jquery in global javascript function with browserify
- Can't walk dependency graph - browserify
Related Questions in WATCHIFY
- Cmd process run browserify from C# desktop not working
- Gulp- Watchify does not detect changes to a submodule folder
- "npm watch" command not working, but "npm run watch" command is working
- How to make using tsify with the AMD module system result in a bundle file, not in separate files or a file that uses the not-found `define`?
- How to use the require function and TypeScript modules with tsify and watchify?
- Watchify compile once wrongly and then stops
- watchify error - npm ERR! missing script: watch
- Watchify - Uncaught ReferenceError: require is not defined
- Gulp: paths.scss.forEach is not a function
- "Write after end": how to imitate gulp-watch with watchify?
- get blob error after using watchify to make a bundle
- Npm ‘Dev’ Watchify/Browserify/vueify cmd to compile Vue component and start Express server fails? (server fails to start)
- PhpStorm - watchify connection bug
- Bundling javascript files to watch with Gulp and Nodeman
- How handle watchify errors in gulp. Watchify prevent error from being reported
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
According to watchify source code, it gets passed on to browserify, and taken from https://github.com/substack/node-browserify#usage:
--debug -d Enable source maps that allow you to debug your files separately.