-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable live debugging #8
Conversation
There is a bug |
Great work @humhei, thanks a lot for this! The template needed some love 😉 I also took the chance to "hide" the Webpack config files in the Please check the README to see the changes (the last section "Project Structure" hasn't really changed so you can skip it). Some notes:
|
Personally, I think by doing this we just delay the moment when users will need to underscore paket, yarn, webpack, etc. But for the simple template, it make sense so I am ok with that. |
I tried to run task Update: |
@humhei Do you have @MangelMaxime Yes, for that we still need the tutorial series 😉 But for the template I think most of users want to start as soon as possible and many get confused if there are extra "unusual" steps (I was helping a user yesterday and after trying several things the problem was they were not running |
@alfonsogarciacaro I like the new files structure tree 👍
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"command": "yarn",
"args": ["start"],
"type": "shell",
"label": "Start",
"group": "build",
"isBackground": true,
"problemMatcher": {
"fileLocation": "absolute",
"background": {
"activeOnStart": true,
"beginsPattern":{
"regexp": "webpack: Compiling"
},
"endsPattern":{
"regexp": "webpack: (Compiled successfully|Failed to compile)"
}
},
"pattern": {
"regexp": "^(.*)\\((\\d+),(\\d+)\\): \\((\\d+),(\\d+)\\) (warning|error) FABLE: (.*)$",
"file": 1,
"line": 2,
"column": 3,
"endLine": 4,
"endColumn": 5,
"severity": 6,
"message": 7
}
}
}
]
}
Above code is bad to read
|
I also took a chance to add |
The last commit fixed the yellow output, |
Thanks for the tip about VS Code tasks version @humhei! I upgraded it. I saw you closed your PR, are you planning to send it again? Adding FAKE to the basic template is a bit controversial, and has been discussed some times before. In principle, I'd like to avoid it because it's not strictly necessary and it adds some cognitive overhead specially to users coming from JS, who already need to learn about F#, dotnet SDK, Paket... Should we publish the template as it is now so users can give feedback? |
I feel the same |
#7