dojo / grunt-dojo2

Dojo 2 - Grunt tasks and configuration (internal use)
Other
4 stars 16 forks source link

link task removes dependencies from node_modules #173

Closed edhager closed 6 years ago

edhager commented 7 years ago

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?