FreeAllMedia / stimpak

An easy-to-use system for defining, discovering, and re-using code, text, and workflow patterns
http://stimpak.io
MIT License
8 stars 1 forks source link

Support temp directories on a different volume than the global node modules directory #4

Closed dcrockwell closed 8 years ago

dcrockwell commented 8 years ago

Currently using fileSystem.renameSync which will fail if renaming to a path that is on another volume, which will happen if we have a system temp directory on a different volume than the global node modules directory.

dcrockwell commented 8 years ago

Could move generators to ${parentDirectory}/.stimpak instead of a temp directory to have high probability of being on the same volume.

dcrockwell commented 8 years ago

This won't happen any longer because there is no temp directory. Now, generators are copied to the stimpak directory itself which will always be on the same volume as the generators.