question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Stop generating two config files

See original GitHub issue

I’d like to suggest that we remove the truffle-config.js file from our templates (Truffle boxes and the output of the truffle init command). It was only ever relevant on Windows, and we now have multiple documented workarounds such that it’s not necessary.

http://truffleframework.com/docs/advanced/configuration#resolving-naming-conflicts-on-windows

Also, it seems to confuse people, who don’t understand why it’s there.

I figure that if Truffle continues to accept the existence of a truffle-config.js in projects, but just doesn’t ship one with new projects, then we can implement this without any breaking changes.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
tomcbeancommented, Apr 16, 2018

Why not just eliminate truffle.js and only recognize truffle-config.js? Works on all supported OSes.

1reaction
bmmpxfcommented, Apr 18, 2018

@gnidan For sure, makes sense. I am much more in favor of retaining truffle.js anyway.

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - App.Config stop creating - Stack Overflow
In this case, you can uncheck and save this setting, and then remove the app.config file ans save the project. This solves the...
Read more >
How to stop losing local config files? [#3268912] | Drupal.org
We use config split everyday to manage local/dev/stage/prod environments; but for some reason i can't seem to get local config to remain. On...
Read more >
Managing Multiple Configuration File Environments with Pre ...
Full stop. This is a build, so it needs to be fast. 5. Create a Pre-build Event. Right-click on your Project and select ......
Read more >
General rules for creating configuration files - IBM
The following rules apply to all configuration files when you use the command-line interface to mask data with the data privacy application.
Read more >
Creating Multiple Config Files & using them - SpigotMC
Hey Guys, Ive been recently trying to make a plugin for spigot and i've been trying to create mutiple config files in my...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found