Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[npm] automatic priming of /etc/fstab #12

@akauppi

Description

@akauppi

When using npm, the project specific node_modules and .svelte-kit folders need to be mapped.

While this cannot be fully automated, what we can do is:

  • create entries for the folders in custom.mounts.list, expecting them to be npm project roots

This helps the user because in the common case, all they need to do after recreating a VM is:

$ cd {project folder}
$ mount node_modules
$ mount .svelte-kit

These are the commands they need to do after restarts of a VM, anyways, per project.


Edit: Need to also create the ~/.node_modules/{id} folders.

..and sudo systemctl daemon-reload or restart of the VM, after /etc/fstab has been edited.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions