Comments (3)
Thanks for that, as you mentioned it is not a bug, the medusa develop use its own entry file and this is also why there is a start script in your package.json as well as an entry point file named main.ts which is used to run the server and all that is part of the doc. All that is generated by the init command, If you want hot reloading you can use a simple nodemon command 🔥💪👍
from medusa-extender.
I'm fairly new to medusa and most if not all the documentation and articles reference the medusa develop
command. I would suggest making a note of it in your documentation/site so that new comers do not assume it does not work. Which is where I was headed and about to discard medusa-extender as a dead project.
For what it's worth, I added the following command to my package.json
file to handle reloads, might be helpful.
"start:local": "nodemon -e ts --ignore node_modules/ --ignore dist/ -w src/ -x 'npm run build && NODE_ENV=development node ./dist/main.js'"
Just run npm run start:local
and you the server restarts on saves. So far it's working.
from medusa-extender.
Thank you a lot for your feedback, the extender is a special package that require a minimum amount of knowledge on medusa before jumping straight in with the extender. The extender has its own cli to improve the dx with it and the init command populate the needed scripts to work with the extender along medusa itself. But, the medusa cli is only for medusa and the extender cli help your work with the extender and medusa together. Hope everything is more clear now and that you like it 😀
from medusa-extender.
Related Issues (20)
- Update documentation for the new decorators
- [BUG] Middleware not working as expected for Loggedin User HOT 1
- Typo in documentation
- [BUG] store routes requiredAuth does not work. HOT 3
- MetadataReader comprehensive error message HOT 5
- [BUG] Migrate command --show
- DOC: Add use case for the extender HOT 3
- [BUG] Multitenancy Config | Tenant Code Resolver HOT 3
- Fix documentation
- medusa-auth-plugin not working with 1.8.8 extender HOT 6
- Overwriting existing column of entity HOT 1
- Cors Issue - setting of cors address HOT 1
- [BUG] Medusa Server not starting after adding medusa-extender to existing project HOT 4
- [BUG] Middleware is not working HOT 1
- Compatible with Medusa 1.8? HOT 1
- [BUG] : Cannot run extender from the cloned server starter
- [BUG] Unable to Intsall extender on latest Medusa HOT 1
- Wow, when I saw this project, I felt excited. HOT 5
- Not working with medusa js 1.3.16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from medusa-extender.