Github user matrosov-nikita commented on a diff in the pull request:

    https://github.com/apache/cordova-browser/pull/31#discussion_r121171609
  
    --- Diff: node_modules/cordova-serve/src/exec.js ---
    @@ -29,7 +29,15 @@ var child_process = require('child_process'),
     module.exports = function (cmd, opt_cwd) {
         var d = Q.defer();
         try {
    +        // In Linux, the callback is not called until the process 
terminates.
    +        // If the error is not caused within 2 seconds, then the promise 
will be resolved.
    +        var timer = setTimeout(() => {
    +            if (process.platform == 'linux') {
    --- End diff --
    
    use `===` instead of `==`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to