Hi,I would like to create a simple command in package.json/scripts in order to change directory in my terminal, and start a node server. So far I have to launch the app, open a new tab in my terminal, change directory and finally launch the server.I've written: "scripts": { "server": "cd back && node server" } Writing yarn server doesn't cause any issue in the terminal, but the working directory never changes. I am still at the project's root. How can I fix this?
Submitted December 27, 2019 at 02:24PM by MonsieurLeland
No comments:
Post a Comment