Comments (3)
This seems like the problem behind an error I'm getting, too: "Development server already received restart requests."
This happens whenever I crash my development server (something that, naturally, happens quite a lot). And if I trigger a restart and it still has bad code (I think), then it won't restart the server until I stop the server manually and restart it.
from gulp-develop-server.
As restart is just kill and listen if kill will not succeed, it will assume that it is in process of restart.
I did small change to use child.connected property to make sure if it makes sense to kill process at all.
It can be done in different way to observer exit event for child process if it is closed abnormally.
from gulp-develop-server.
+1
from gulp-develop-server.
Related Issues (13)
- Livereload issues HOT 6
- Incorrect interpretation of server error on --debug HOT 2
- Cannot read property 'pid' of null HOT 5
- Run coffee HOT 1
- Colors in console HOT 3
- Expose a method or parameter that tells you if the server is currently running HOT 2
- server restarts on change in logs/
- Change current working directory HOT 1
- Server stops immediately HOT 2
- Include current environment variables for child processess HOT 3
- Arguments to the script HOT 7
- Pipe output to bunyan cli HOT 1
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 gulp-develop-server.