You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if the mage server would also restart if certain extra folders (that I want to be able to specify) observe changes. The direct reason for me wanting this is that on my project I have a folder with a bunch of JSON files that get cached on startup. It would be nice to restart the server when that data changes so caches can refresh.
I can imagine running the console with package.json script looking something like this:
PS: I don't mind making a PR for this of course, but anyone can pick this up if they have time in the short term and feel like doing this ;) Also would like to see feedback on the idea before developing.
The text was updated successfully, but these errors were encountered:
stelcheck
added a commit
to stelcheck/mage-console
that referenced
this issue
Nov 26, 2017
Fixes multiple outstanding issues, and pretifies error output by:
1. using pretty-error to render the error
2. stripping part of the stack that really should have no relevance
Fixesmage#4mage#5mage#8mage#9mage#11
Fixes multiple outstanding issues, and pretifies error output by:
1. using pretty-error to render the error
2. stripping part of the stack that really should have no relevance
Fixesmage#4mage#5mage#8mage#9mage#11
stelcheck
added a commit
to stelcheck/mage-console
that referenced
this issue
Dec 6, 2017
Fixes multiple outstanding issues, and pretifies error output by:
1. using pretty-error to render the error
2. stripping part of the stack that really should have no relevance
Fixesmage#4mage#5mage#8mage#9mage#11
It would be great if the mage server would also restart if certain extra folders (that I want to be able to specify) observe changes. The direct reason for me wanting this is that on my project I have a folder with a bunch of JSON files that get cached on startup. It would be nice to restart the server when that data changes so caches can refresh.
I can imagine running the console with package.json script looking something like this:
PS: I don't mind making a PR for this of course, but anyone can pick this up if they have time in the short term and feel like doing this ;) Also would like to see feedback on the idea before developing.
The text was updated successfully, but these errors were encountered: