fiddle
fiddle copied to clipboard
Avoid external npm package to reinstall at each start
Hi,
It's more a question than an issue : i searched on issue and doc but i had no found how install npm package.
var pack = require('npmPack') install correctly module and depencies but with no persistance. Each time i start the fiddle the package seems to be reisntall (in the console i got : Installing node modules using npm: npmPack)
It's normal or there are a way to persist npm module ?
Thanks
@fatoldsun00 I believe that's currently the expected behavior. Fiddle installs deps automatically once you require
them, but there's currently no code to cache these packages between runs.
Going to label this as an enhancement to support this down the road. :)
Ok, thanks for answer. I can maybe look for make PR (if i have time and ... skill ;))