@michael, not sure that this is the best option, but you can run here either node server seed or npm start -- seed.
It's done by exec just from server.js, not sure that it's the best thing, but also it's ok i think. The alternative option could be, say, npm run dev. In this case we will not touch app's code. Why do you want an option?
@michael, not sure that this is the best option, but you can run here either
node server seed
ornpm start -- seed
. It's done by exec just from server.js, not sure that it's the best thing, but also it's ok i think. The alternative option could be, say,npm run dev
. In this case we will not touch app's code. Why do you want an option?