Skip to content

npm run build vs npm run watch when adding new commands #1873

Discussion options

You must be logged in to vote

You're right and you should be able to use npm run watch. You need to run npm run build only once (after you cloned the repo or ran npm run clean which deletes the dist 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?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@sebastienlevert
Comment options

@waldekmastykarz
Comment options

@sebastienlevert
Comment options

Answer selected by sebastienlevert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants