Within a Dojo cli project like cli-test-intern, I do the following to test my changes:
grunt dist
grunt link
The grunt link command removes modules from node_modules so if I want to run grunt dist again, I have to first run npm install. So my workflow is grunt dist; grunt link; npm i.
I'm not sure why grunt link is mangling node_modules but is there a way the grunt link task could restore node_modules as a last step?
Within a Dojo cli project like cli-test-intern, I do the following to test my changes:
The
grunt link
command removes modules fromnode_modules
so if I want to rungrunt dist
again, I have to first runnpm install
. So my workflow isgrunt dist; grunt link; npm i
.I'm not sure why
grunt link
is manglingnode_modules
but is there a way thegrunt link
task could restorenode_modules
as a last step?