Starting dev server using npm module install rewrites symlink to theme


#1

I am getting a weird thing. I have a symlink from content/themes/casper to my location of casper which is inside of my node_modules. During the startup of the server somewhere in the ghost().then((server)=> {}) it rewrites the symlink from …/…/node_modules/@getselfstudy/ghost/content/themes/casper to /var/lib/ghost/current/content/themes/casper which is not a valid path on my system. I have tried to step through the startup code and tried to fs.watch() the symlink path, but I could not find where this happens. Replacing the symlink with a normal directory does work, but that’s not how I can set it up.
Does anyone know where in the code it rewrites the symlink?


#2

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.