I am new to prismic, I just started learning about it last week and how to use it with Next.js projects. I decided to clone the Blog start
project of prismic. So I found myself in a situation where I want to have 2 slice machines working simultaneously on different ports. Does someone know how to manually specify the port number on which the slice machine will run?
Asked
Active
Viewed 365 times
2

juliomalves
- 42,130
- 20
- 150
- 146

IsraelBeni
- 21
- 3
1 Answers
3
If you want to run it on port 5000 you run npm run slicemachine -- --port 5000
If you're using yarn run yarn run slicemachine --port 5000

Alex Trost
- 56
- 2