npm run build vs npm run watch when adding new commands #1873
-
Hello team! I'm working on my first ever command with the CLI for Microsoft 365 (!!!) and everything is actually going quite well! I have an issue with my dev workflow and I'm pretty sure you can help me out. When I am creating a new command or even just changing a bit of the code, I would expect to be able to use Is there any way to enhance this dev workflow or am I doing something completely wrong and I should just go hide? 🤣 Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You're right and you should be able to use What is the issue you're seeing with |
Beta Was this translation helpful? Give feedback.
You're right and you should be able to use
npm run watch
. You need to runnpm run build
only once (after you cloned the repo or rannpm run clean
which deletes thedist
folder) because it includes a script that copies some file over after the project has been built.What is the issue you're seeing with
npm run watch
exactly?