1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
Go to file
Jim Turner 6baedf909d Fix #1478 - Project files are not being flushed to disk after being written (#1479)
* Call fsync() before closing file

* Fix race condition in tests due to incorrect stub.

The startFlows() function wasn't really being stubbed, so it was still being called. But there was no corresponding call to stopFlows().

In later tests, the check in Flows.init() was throwing the "Cannot init without a stop" error.

* Test coverage for fsync() calls

For issue #1478

* Revert "Fix race condition in tests due to incorrect stub."

This reverts commit 4f71d7851b.

* Fix race condition in tests due to incorrect stub.

The startFlows() function wasn't really being stubbed, so it was still being called. But there was no corresponding call to stopFlows().

In later tests, the check in Flows.init() was throwing the "Cannot init without a stop" error.

* Fix intermittent test failure in Exec node.

Occasionally, the error text on stderr will come in more than one piece. The test only worked correctly if a single message was received.
2017-11-17 17:29:33 +00:00
.github Update ISSUE_TEMPLATE.md 2017-10-08 14:04:35 +01:00
bin Update copyright header for JS Foundation 2017-01-11 15:24:33 +00:00
editor Make it possible to save formatting choices separately by the type of object (#1458) 2017-11-02 16:50:35 +00:00
lib Add lib .gitignore 2013-09-05 15:07:01 +01:00
nodes clone messages before delayed send (#1474) 2017-11-17 17:27:29 +00:00
red Fix #1478 - Project files are not being flushed to disk after being written (#1479) 2017-11-17 17:29:33 +00:00
test Fix #1478 - Project files are not being flushed to disk after being written (#1479) 2017-11-17 17:29:33 +00:00
.gitignore locale exposed to editor 2015-07-02 10:49:39 +01:00
.jshintrc add allow es6 to .jshintrc 2017-06-23 21:49:35 +01:00
.nodemonignore Have grunt dev restart on message catalog changes 2015-10-02 21:27:30 +01:00
.npmignore ignore Eclipse files and resolve some Eclipse JSHint warnings 2015-04-14 14:17:08 -04:00
.travis.yml travis - don't allow node 8 fails, (and re-add 7) 2017-06-23 21:49:10 +01:00
CHANGELOG.md Changelog for 0.17.5 2017-07-23 17:32:27 +01:00
CODE_OF_CONDUCT.md Add CoC.md 2016-04-07 21:51:12 +01:00
CONTRIBUTING.md Update CONTRIBUTING guide 2016-12-09 13:35:29 +00:00
Gruntfile.js Update JSONata to 1.2.4 2017-06-26 13:55:22 +01:00
LICENSE Update copyright header for JS Foundation 2017-01-11 15:24:33 +00:00
package.json Upgrade JSONata to v1.3.0 (#1386) 2017-09-07 21:58:29 +01:00
README.md Update copyright header for JS Foundation 2017-01-11 15:24:33 +00:00
red.js Fix creating userDir other than system drive on Windows (#1317) 2017-07-03 15:22:49 +01:00
settings.js Update settings.js (#1404) 2017-09-21 13:37:34 +01:00

Node-RED

http://nodered.org

Build Status Coverage Status

A visual tool for wiring the Internet of Things.

Node-RED: A visual tool for wiring the Internet of Things

Quick Start

Check out http://nodered.org/docs/getting-started/ for full instructions on getting started.

  1. sudo npm install -g node-red
  2. node-red
  3. Open http://localhost:1880

Getting Help

More documentation can be found here.

For further help, or general discussion, please use the mailing list.

Developers

If you want to run the latest code from git, here's how to get started:

  1. Clone the code:

     git clone https://github.com/node-red/node-red.git
     cd node-red
    
  2. Install the node-red dependencies

     npm install
    
  3. Build the code

     npm run build
    
  4. Run

     npm start
    

    or

     node red.js
    

Contributing

Before raising a pull-request, please read our contributing guide.

This project adheres to the Contributor Covenant 1.4. By participating, you are expected to uphold this code. Please report unacceptable behavior to any of the project's core team.

Authors

Node-RED is a project of the JS Foundation.

It was created by IBM Emerging Technology.

Copyright JS Foundation and other contributors, http://js.foundation under the Apache 2.0 license.