forked from webxl/grunt-reload
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: trigger reload in running server process (draft fix for webxl#13)
In the reload task, a request is made to http://localhost:{port}/reloadTrigger. If this succeeds, this emits reload messages in the running server process. If the request fails, the server is started in the current process.
- Loading branch information
1 parent
13a4606
commit f438be5
Showing
1 changed file
with
29 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters