Skip to content

Added a dev server run script#322

Merged
drew-gross merged 3 commits into
parse-community:masterfrom
gnz00:dev-server
Feb 11, 2016
Merged

Added a dev server run script#322
drew-gross merged 3 commits into
parse-community:masterfrom
gnz00:dev-server

Conversation

@gnz00

@gnz00 gnz00 commented Feb 9, 2016

Copy link
Copy Markdown

Watches for changes to files in src, transpiles using babel into lib triggering nodemon to restart the server process.

Signed-off-by: Alexander Mays <maysale01@gmail.com>
…fails

Signed-off-by: Alexander Mays <maysale01@gmail.com>
@facebook-github-bot

Copy link
Copy Markdown

@maysale01 updated the pull request.

Comment thread bin/dev

process.once('SIGINT', function() {
process.exit(0);
}); No newline at end of file

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add a trailing \n

@flovilmart

Copy link
Copy Markdown
Contributor

You could also add in the package.json under scripts: { "dev": "./bin/dev" }

Signed-off-by: Alexander Mays <maysale01@gmail.com>
@facebook-github-bot

Copy link
Copy Markdown

@maysale01 updated the pull request.

@drew-gross

Copy link
Copy Markdown
Contributor

Cool! @maysale01 Could you also add some info in CONTRIBUTING.md about how to use this? In the meantime I can still merge.

drew-gross added a commit that referenced this pull request Feb 11, 2016
Added a dev server run script
@drew-gross drew-gross merged commit 2e5fd29 into parse-community:master Feb 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants